Path: utzoo!mnetor!uunet!mcvax!botter!ast
From: ast@cs.vu.nl (Andy Tanenbaum)
Newsgroups: comp.os.minix
Subject: Re: scanf()
Message-ID: <1782@botter.cs.vu.nl>
Date: 11 Dec 87 14:40:54 GMT
References: <782@louie.udel.EDU>
Reply-To: ast@cs.vu.nl (Andy Tanenbaum)
Organization: VU Informatica, Amsterdam
Lines: 10

In article <782@louie.udel.EDU> KIMMEL%ecs.umass.edu@relay.cs.net (Matt Kimmel) writes:
>I just got Minix v1.2, and I like it a lot.  However, when I try to
>compile a C program that calls scanf(), I get a message to the effect
>of " _scanf not resolved".  Am I missing something?  Or is there no scanf()

There is a scanf in libsrc.a, but it is not included in libc.a.  You have to
compile it yourself with cc -LIB -c scanf.c and put in in the library.
It was omitted from libc.a because there was no room on that diskette!

Andy Tanenbaum (ast@cs.vu.nl)