"Richard L. Hamilton" <rlha...@smart.net> wrote:

> Beware that if you have getprogname(), you may find people wanting
> the entire FreeBSD err(3) family, not to mention ultimate evil like
> setproctitle() (which only works with BSD style ps that looks at the
> current possibly modified process args rather than the cached startup
> command line).

Don't worry....

These err() funktions are just inaccurate reimplementations of the functions:

comerr() comerrno()
errmsg() errmsgno()

introduced in 1981 by UNOS (a UNIX clone from 1980).

A 1:1 reimplemenation of UNOS comerr()... is in libschily ;-)


Many clean ideas from UNOS have been adapted by UNIX later. UNOS had e.g.
a syscall getpsinfo() from the beginning, that returned similar information 
as you now get from the proc filesystem - who did ever call "ps" on UNIX 
in ~ 1982 knows that UNIX had a chance > 50% to just print junk with ps.
The UNOS kernel was fully preemtive from the beginning and used event counters
(a precursor of the mutexes) and UNOS since 1982 had long options and a 
standardized option parser that is superior to the getopt() introduced later 
by AT&T.

Jörg

-- 
 EMail:jo...@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
       j...@cs.tu-berlin.de                (uni)  
       joerg.schill...@fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
opensolaris-arc mailing list
opensolaris-arc@opensolaris.org

Reply via email to