TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Wes Garland
from: andrew clarke
date: 2003-06-23 10:50:22
subject: fconf2maximus

Sun 2003-06-22 19:33, Wes Garland (1:106/2000) wrote to Andrew Clarke:

 ac>> Or use getopt.c from Msged, which is portable to anywhere.  GNU 
 ac>> getopt is overkill for small programs.  :-)

 WG> What, there exists a real platform where getopt *doesn't* exist in
 WG> libc? I could swear that it was specified in POSIX 1003.1, but
 WG> don't have my handy-dandy purple book at home right now.  

Yep, getopt(3) in FreeBSD suggests it is POSIX, but of course there are a
number of platforms that provide a vastly incomplete set of POSIX functions
unless you restrict yourself to GNU C.  I try to avoid restricting myself
to any particular compiler unless it's difficult not to.

Did you know MSVC++ 6.0 doesn't provide opendir()?  Amazing.  I wrote my
own to use Win32 API calls though.  :-)

-- mail{at}ozzmosis.com

--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Mt Eliza, Melbourne, Australia (3:633/267)
SEEN-BY: 633/267 270
@PATH: 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.