Subject: Re: CVS commit: basesrc
To: Perry E. Metzger <perry@piermont.com>
From: Gregory McGarry <g.mcgarry@ieee.org>
List: tech-userlevel
Date: 08/13/2002 08:15:43
Perry E. Metzger wrote:
 
> Jaromir Dolecek <jdolecek@netbsd.org> writes:
> > I wonder what is the rule to decide whether stuff belongs to libc
> > or libutil?
> 
> libutil is for stuff that is used commonly in a wide variety of system
> daemons in abstracting system related functions. "spawn a login
> shell", "get a pty and modify the utmp entry", and such are very very
> much libutil sorts of things.
> 
> libc is for stuff of *general* use to a programmer, even if they're
> not dealing with system related goo. "humanize_number" is very much
> not a libutil thing -- same for fparseln. Both could be used in almost
> any sort of program.
> 
> libutil is for system utilities -- util does not refer to the contents
> of the library but to the clients of the library.

While you're explaining the purpose of libraries...

How would describe the purpose of libroken?

	-- Gregory McGarry <g.mcgarry@ieee.org>