18c0eeddf7
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 ;) |
||
---|---|---|
.. | ||
_secure_path.3 | ||
_secure_path.c | ||
auth.3 | ||
auth.c | ||
auth.conf.5 | ||
fparseln.3 | ||
fparseln.c | ||
libutil.h | ||
login_auth.3 | ||
login_auth.c | ||
login_cap.3 | ||
login_cap.c | ||
login_cap.h | ||
login_class.3 | ||
login_class.c | ||
login_ok.3 | ||
login_ok.c | ||
login_times.3 | ||
login_times.c | ||
login_tty.3 | ||
login_tty.c | ||
login.3 | ||
login.c | ||
login.conf.5 | ||
logout.3 | ||
logout.c | ||
logwtmp.3 | ||
logwtmp.c | ||
Makefile | ||
property.3 | ||
property.c | ||
pty.3 | ||
pty.c | ||
pw_util.c | ||
realhostname_sa.3 | ||
realhostname.3 | ||
realhostname.c | ||
setproctitle.3 | ||
setproctitle.c | ||
trimdomain.3 | ||
uucplock.3 | ||
uucplock.c |