Date: Tue, 11 Mar 1997 20:42:09 -0800 (PST) From: Gary Kline <kline@tera.com> To: metcalf@snet.net (Jeffrey M. Metcalf) Cc: Jeffrey_M._Metcalf@ccmail.bms.com, questions@FreeBSD.org Subject: Re: Looking for getopt() source Message-ID: <199703120442.UAA14123@athena.tera.com> In-Reply-To: <33261064.41C67EA6@snet.net> from "Jeffrey M. Metcalf" at "Mar 11, 97 09:09:40 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
According to Jeffrey M. Metcalf: > Hello, > > I am presently trying to port some UNIX utilities to my DOS OS and would > find > my job much easier if I could get the source code for such nifty > utilities as > getopt(). I understand that it is part of the linker, but that doesn't > help > when the DOS C compilers don't understand it in their linkers. I have > the sources > or FreeBSD-2.1.0 on CDROM and have searched it for the getopt() source > code. I > imagine that it must be there somewhere, I just need to be told where. > All that > I have been able to find are function prototypes for getopt(), but not > its base > source code. I would also like to port the sources for warn, err, etc. > The functions you are searching for are in the library. /usr/src/lib/* or /usr/src/lib/libc/* getopt() is in libc/stdlib. gary kline
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703120442.UAA14123>