Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!hpda!hpcupt1!hpisoa1!vandys From: vandys@hpisoa1.HP.COM (Andrew Valencia) Newsgroups: comp.os.minix Subject: Re: (none) Message-ID: <3490002@hpisoa1.HP.COM> Date: 23 Aug 88 16:23:36 GMT References: <3784@louie.udel.EDU> Organization: Hewlett Packard, Cupertino Lines: 12 / hpisoa1:comp.os.minix / RM5I%DFVLROP1.BITNET@cunyvm.cuny.edu / 7:10 am Aug 22, 1988 / >I got error messages when compiling some of the 1.3 commands >I've got the unresolved external messages to _fgetc(f), _fputc(f). putc() and getc() should be macros which "efficiently" queue a char; fputc() and fgetc() are true functions which behave the same, but call a function instead of generating in-line code. Thus, you share the code among all calls, but you pay the price of a procedure call. By defining putc/getc in terms of the functions, they are punting in the name of code space (which is consistent with MINIX's philosophy--keep it small!). You just have to figure out where fputc/fgetc have gone to. Try libsrc.a. Andy