freebsd-dev/usr.sbin/mtree
Josef Karthauser 18c0eeddf7 Historically file flags (schg, uschg, etc) have been converted from
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 ;)
2000-01-27 21:17:01 +00:00
..
compare.c Historically file flags (schg, uschg, etc) have been converted from 2000-01-27 21:17:01 +00:00
create.c Historically file flags (schg, uschg, etc) have been converted from 2000-01-27 21:17:01 +00:00
extern.h Added support for file flags, mostly merged from the NetBSD version. 1999-12-09 20:38:36 +00:00
Makefile Historically file flags (schg, uschg, etc) have been converted from 2000-01-27 21:17:01 +00:00
misc.c Added support for file flags, mostly merged from the NetBSD version. 1999-12-09 20:38:36 +00:00
mtree.8 Added support for file flags, mostly merged from the NetBSD version. 1999-12-09 20:38:36 +00:00
mtree.c $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
mtree.h Added support for file flags, mostly merged from the NetBSD version. 1999-12-09 20:38:36 +00:00
spec.c Historically file flags (schg, uschg, etc) have been converted from 2000-01-27 21:17:01 +00:00
verify.c Added support for file flags, mostly merged from the NetBSD version. 1999-12-09 20:38:36 +00:00