Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Let's write a program, /prog/...

Name: Anonymous 2008-04-01 13:07

Forget about header files. Just write.


int main(int argc, char *argv[]) {

Name: Anonymous 2008-04-02 14:16

>>52
what

http://www.opengroup.org/pubs/online/7908799/xcu/link.html

>>45
You use strerror() but you forgot to include <string.h>
Add it yourself. In fact, let's see your version of link.c

Moreover, 1 is not portable to return from main. It does not guarantee a meaningful value to the OS.
RTFS. Anything >0 means an error occurred, now are you going to argue that 1<=0 ?

in b4 IHBT

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List