Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!labrea!rutgers!sunybcs!boulder!hao!husc6!cmcl2!brl-adm!adm!RMANGALD%CLARKU.BITNET@wiscvm.wisc.EDU From: RMANGALD%CLARKU.BITNET@wiscvm.wisc.EDU Newsgroups: comp.lang.c Subject: Question on ANSI C compatibility Message-ID: <10224@brl-adm.ARPA> Date: Sun, 8-Nov-87 15:19:16 EST Article-I.D.: brl-adm.10224 Posted: Sun Nov 8 15:19:16 1987 Date-Received: Tue, 10-Nov-87 06:19:36 EST Sender: news@brl-adm.ARPA Lines: 12 Hi, everybody: Well, I don't know if the subject header is totally correct, because I'm not sure whether the ANSI standard requires what I don't want to do -- put a "(void)" in front of every function call where I'm throwing away the return value. It's a real pain to prefix all the "printf()"'s, "gets()"'s, etc. with "(void)", so could someone tell me whether this is necessary for ANSI compatibility, and whether it is good programming style? Rahul Mangaldas. rmangaldas@clarku.bitnet