summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/strtofflags.3
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-1/+1
|
* Whitespace only change: trim trailing whitespace.asmodai2000-10-301-5/+5
|
* Modify strtofflags so that it returns a malloced string instead of ajoe2000-06-171-3/+24
| | | | pointer to a static buffer.
* The "def" arg for fflagstostr is too specialized for ls. The callerjoe2000-06-171-4/+2
| | | | | | | can easily translate from "" to whatever it wants to print if no flags are set. (ls prints "-" and mtree prints "none".) Suggested by: bde
* Return of the evil file flags! The {s|g}etflags functions werejoe2000-06-171-10/+10
| | | | | | | | renamed to {s|g}etflagsbyname, which received objections. They're now called strtofflags (string to file flags) and fflagstostr (file flags to string). Suggested by: bde
* Introduce ".Lb" macro to libc manpages.phantom2000-04-211-0/+2
| | | | More libraries manpages updates following.
* Historically file flags (schg, uschg, etc) have been converted fromjoe2000-01-271-0/+78
string to u_long and back using two functions, flags_to_string and string_to_flags, which co-existed with 'ls'. As time has progressed more and more other tools have used these private functions to manipulate the file flags. Recently I moved these functions from /usr/src/bin/ls to libutil, but after some discussion with bde it's been decided that they really ought to go in libc. There are two already existing libc functions for manipulating file modes: setmode and getmode. In keeping with these flags_to_string has been renamed getflags and string_to_flags to setflags. The manual page could probably be improved upon ;)
OpenPOWER on IntegriCloud