mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
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 ;)
9 lines
116 B
Makefile
9 lines
116 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/2/93
|
|
# $FreeBSD$
|
|
|
|
|
|
PROG= ls
|
|
SRCS= cmp.c ls.c print.c util.c
|
|
|
|
.include <bsd.prog.mk>
|