[comp.os.minix] how to make scanf

smagt@cs.vu.nl (Smagt v der PPP) (05/11/87)

In my distribution of MINIX, the C library routine scanf() doesn't
work. When compiling, I get something like "_getc undefined".
Obviously, this is a library error. I found that in the file libc.a
in the /usr/lib directory, scanf() is listed AFTER getc(). This is no
good, says prof. Tanenbaum in appendix D. I fixed it by putting
scanf() at the top in libc.a. This proved to be a lot of work because 
tar can only insert files at the end of the library file.
Any volunteers to change tar (see UNIX manuals) ?


					P. van der Smagt
					VU Informatica
					Amsterdam
					The Netherlands
					(send mail to smagt@cs.vu.nl)