3 .ds ;G \\*(;G\\f\\$1\\$3\\f\\$2
4 .if !
\a\\$4
\a\a .Af \\$2 \\$1 "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
7 .ie
\a\\$3
\a\a .ft \\$1
11 .Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9"
16 .aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
19 .aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
22 .aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7"
24 .de EX \" start example
41 fmtls \- format file information in buffer
46 char* fmtls(char* \fIbuf\fP, char* \fIname\fP, struct stat* \fIst\fP, char* \fIinfo\fP, char* \fIlink\fP, int \fIflags\fP);
52 style file information into the buffer
54 A pointer to the trailing 0 in
62 status information for
64 obtained from one of the
68 is an additional string that will appear before
74 is the name of the related hard or soft link file.
81 controls the format style and may be a combination of the following:
101 List the number of blocks.
104 List the file serial number (inode number).
107 List the file mode, link count, user and group name,
108 size or major/minor device number, and date along with the
112 The file name is appended with
119 for executable files.
122 Omit the group name from
126 Omit the user name from
129 The user and group fields are each
143 ls(1), stat(2), strmode(3)