Conformed to ANSI C and UNIX