Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!munnari.oz.au!uhccux!cfht.hawaii.edu!jwright From: jwright@cfht.hawaii.edu (Jim Wright) Newsgroups: comp.sys.next Subject: Re: C Programming questions Message-ID: Date: 5 Apr 91 08:54:40 GMT Article-I.D.: cfht.jwright.670841680 References: <1466@toaster.SFSU.EDU> Sender: news@uhccux.uhcc.Hawaii.Edu Lines: 20 eps@toaster.SFSU.EDU (Eric P. Scott) writes: >In article gad@eclipse.its.rpi.edu writes: >> the fprintf subroutine seems to always return a value of zero. >Different UNIX implementations disagree here. This is just >something you'll have to live with. You're the first person >I've seen who actually cared--usually the question comes up >with respect to sprintf. I can find no NeXT documentation on what the printf family returns. I know the agony of porting code that uses these return values, but that's no reason not to document them. Nothing in digital librarian. grep turned up only: stdio.h:extern int fprintf(FILE *stream, const char *format, ...); -- Jim Wright jwright@cfht.hawaii.edu Canada-France-Hawaii Telescope Corp.