Xref: utzoo comp.lang.c:37766 comp.unix.programmer:1461 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!wuarchive!psuvax1!psuvm!cunyvm!uupsi!rodan.acs.syr.edu!lynx.cat.syr.edu!jkchan From: jkchan@lynx.cat.syr.edu (J. K. Chan) Newsgroups: comp.lang.c,comp.unix.programmer Subject: exit(); Message-ID: <1991Mar30.155011.767@rodan.acs.syr.edu> Date: 30 Mar 91 22:12:58 GMT Distribution: na Organization: Syracuse University Lines: 19 I must be missing learning some simple idea about the use of exit();. Given the following program (I chopped it out from my program), "lint" always issues a warning message as shown in the comment part of the program. My program can run but I'm bothered by the lint warning message. I tried to use lint in different Unix accounts but still got the same message. The K&R book didn't say anything more than just using exit(); directly. Please help and send email to the above address. Thanks in advance. Jim /* exit value declared inconsistently llib-lc(232) :: t.c(8) */ #include #include main() { exit(0); }