Notes: Use compile directive _POSIX_SOURCE Alternatively, you can define it in the source itself Who's new to c89?
Alternatively, you can define it in the source itself
Who's new to c89?
A Simple Program - 2 Compile and link the source file: > c89 -o hw -D_POSIX_SOURCE hw.c Run the program: > hw hello world
> c89 -o hw -D_POSIX_SOURCE hw.c
> hw hello world