Re: CVS commit: basesrc

Gregory McGarry <[email protected]>
Newsgroups gmane.os.netbsd.devel.general
Message-ID <[email protected]>
Perry E. Metzger wrote:
 
> Jaromir Dolecek <[email protected]> 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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.