1: struct stat
2: {
3: dev_t st_dev;
4: ino_t st_ino;
5: u_short st_mode;
6: short st_nlink;
7: short st_uid;
8: short st_gid;
9: dev_t st_rdev;
10: off_t st_size;
11: time_t st_atime;
12: time_t st_mtime;
13: time_t st_ctime;
14: };
15:
16: #define S_IFMT 0170000 /* type of file */
17: #define S_IFCHR 0020000 /* character special */
18: #define S_IFMPC 0030000 /* multiplexed char special */
19: #define S_IFDIR 0040000 /* directory */
20: #define S_IFBLK 0060000 /* block special */
21: #define S_IFMPB 0070000 /* multiplexed block special */
22: #define S_IFREG 0100000 /* regular */
23: #define S_IFLNK 0120000 /* symbolic link */
24: #define S_IFQUOT 0140000 /* quota */
25:
26: #define S_ISUID 0004000 /* set user id on execution */
27: #define S_ISGID 0002000 /* set group id on execution */
28: #define S_ISVTX 0001000 /* save swapped text even after use */
29: #define S_IREAD 0000400 /* read permission, owner */
30: #define S_IWRITE 0000200 /* write permission, owner */
31: #define S_IEXEC 0000100 /* execute/search permission, owner */
Defined struct's
stat
defined in line
1; used 480 times
- in /usr/include/macros.h line
26(2)
- in /usr/src/cmd/ar.c line
6(2)
- in /usr/src/cmd/atrun.c line
83(2)
- in /usr/src/cmd/cat.c line
23(2)
- in /usr/src/cmd/chgrp.c line
12(2)
- in /usr/src/cmd/chmod.c line
22(2)
- in /usr/src/cmd/chown.c line
14(2)
- in /usr/src/cmd/cp.c line
12(2)
- in /usr/src/cmd/cron.c line
49(2)
- in /usr/src/cmd/cu.3451A.c line
924(2),
1025(2)
- in /usr/src/cmd/cu.c line
787(2),
888(2)
- in /usr/src/cmd/df.c line
98(2),
105(2)
- in /usr/src/cmd/diff/diff.h line
72-73(4)
- in /usr/src/cmd/diff/diffdir.c line
178(2),
225(2)
- in /usr/src/cmd/diff/diffh.c line
222(2)
- in /usr/src/cmd/diff/diffreg.c line
526(2)
- in /usr/src/cmd/diffh.c line
218(2)
- in /usr/src/cmd/du.c line
9(2)
- in /usr/src/cmd/f77/driver.c line
816(2)
- in /usr/src/cmd/file.c line
77(2)
- in /usr/src/cmd/find.c line
32(2),
707(2)
- in /usr/src/cmd/fsck.c line
403(2),
452(2),
1203(2)
- in /usr/src/cmd/ld.c line
1321(2)
- in /usr/src/cmd/ln.c line
13(2)
- in /usr/src/cmd/login.c line
312(2)
- in /usr/src/cmd/ls/ls.c line
332(2)
- in /usr/src/cmd/ls/symlnk_ls.c line
341(2)
- in /usr/src/cmd/ls/symlnk_ucbls.c line
719(2)
- in /usr/src/cmd/ls/ucbls.c line
708(2)
- in /usr/src/cmd/mail.c line
269(2),
461(2),
551(2),
605(2)
- in /usr/src/cmd/make/dosys.c line
129(2)
- in /usr/src/cmd/make/files.c line
105(2),
408(2)
- in /usr/src/cmd/mesg.c line
14(2)
- in /usr/src/cmd/mv.c line
25(2),
307(2)
- in /usr/src/cmd/pr.c line
156(2),
172(2)
- in /usr/src/cmd/prof.c line
12(2)
- in /usr/src/cmd/ps/ps.c line
46(2),
451(2)
- in /usr/src/cmd/pwd.c line
15(2)
- in /usr/src/cmd/reboot.c line
174(2),
193(2)
- in /usr/src/cmd/refer/refer/glue1.c line
143(2)
- in /usr/src/cmd/refer/refer/hunt5.c line
51(2)
- in /usr/src/cmd/refer/util/hunt5.c line
47(2)
- in /usr/src/cmd/refer/util/what3.c line
11(2)
- in /usr/src/cmd/remind/globals.c line
21(2)
- in /usr/src/cmd/remind/remind.h line
59(2)
- in /usr/src/cmd/rm.c line
64(2)
- in /usr/src/cmd/rmdir.c line
37(2)
- in /usr/src/cmd/savecore.c line
104(2),
275(2)
- in /usr/src/cmd/sh/main.c line
98(2)
- in /usr/src/cmd/sort.c line
524(2)
- in /usr/src/cmd/su.c line
123(2)
- in /usr/src/cmd/tail.c line
24(2)
- in /usr/src/cmd/tar.c line
55(2),
336(2),
673(2),
728(2),
833(2),
870(2),
880(2),
948(2),
1147(2)
- in /usr/src/cmd/tee.c line
25(2)
- in /usr/src/cmd/test.c line
155(2),
167(2)
- in /usr/src/cmd/touch.c line
29(2)
- in /usr/src/cmd/tp/tp2.c line
8(2)
- in /usr/src/cmd/troff/n1.c line
415(2)
- in /usr/src/cmd/uucp/LIBNDIR/opendir.c line
18(2)
- in /usr/src/cmd/uucp/anlwrk.c line
374(2)
- in /usr/src/cmd/uucp/anyread.c line
18(2)
- in /usr/src/cmd/uucp/chkpth.c line
223(2)
- in /usr/src/cmd/uucp/cntrl.c line
120(2)
- in /usr/src/cmd/uucp/cpmv.c line
25(2)
- in /usr/src/cmd/uucp/expfile.c line
70(2)
- in /usr/src/cmd/uucp/ulockf.c line
33(2),
135(2)
- in /usr/src/cmd/uucp/uuclean.c line
47(2)
- in /usr/src/cmd/uucp/uucp.c line
178(2)
- in /usr/src/cmd/uucp/uucpname.c line
40(2)
- in /usr/src/cmd/uucp/uudecode.c line
23(2)
- in /usr/src/cmd/uucp/uuencode.c line
21(2)
- in /usr/src/cmd/uucp/uusend.c line
49(2)
- in /usr/src/cmd/uucp/uuxqt.c line
350(2)
- in /usr/src/cmd/write.c line
39(2)
- in /usr/src/cmd/xsend/xget.c line
17(2)
- in /usr/src/cmd/xsend/xsend.c line
7(2)
- in /usr/src/lib/c/gen/getwd.c line
36(2)
- in /usr/src/lib/c/gen/ttyname.c line
20-21(4)
- in /usr/src/lib/dbm/dbm.c line
8(2)
- in /usr/src/lib/libF77/workdr_.c line
15(2)
- in /usr/src/lib/libI77/open.c line
157(2)
- in /usr/src/lib/libI77/util.c line
29(2),
87(2),
93(2)
- in /usr/src/lib/libU77/fstat_.c line
22(2)
- in /usr/src/lib/libU77/lstat_.c line
25(2)
- in /usr/src/lib/libU77/stat_.c line
24(2)
- in /usr/src/sys/sys/sys3.c line
29(2),
52(2),
76(2),
94-99(4)
- in /usr/src/ucb/Mail/aux.c line
118(2),
472(2)
- in /usr/src/ucb/Mail/cmd2.c line
128(2),
194(2)
- in /usr/src/ucb/Mail/collect.c line
446(2),
497(2)
- in /usr/src/ucb/Mail/edit.c line
63(2)
- in /usr/src/ucb/Mail/fio.c line
276(2),
297(2),
478(2),
501(2)
- in /usr/src/ucb/Mail/lock.c line
33(2)
- in /usr/src/ucb/Mail/quit.c line
27(2)
- in /usr/src/ucb/Mail/send.c line
243(2)
- in /usr/src/ucb/berknet/mach.c line
259(2)
- in /usr/src/ucb/berknet/mwrite.c line
47(2)
- in /usr/src/ucb/berknet/net.c line
56(2),
367(2)
- in /usr/src/ucb/berknet/netdaemon.c line
45(2)
- in /usr/src/ucb/berknet/netq.c line
19(2)
- in /usr/src/ucb/berknet/netrc.c line
137(2)
- in /usr/src/ucb/berknet/netrm.c line
17(2)
- in /usr/src/ucb/berknet/prmail.c line
50(2)
- in /usr/src/ucb/berknet/setup.c line
215(2)
- in /usr/src/ucb/berknet/v6mail.c line
236(2),
494(2),
524(2),
617(2),
651(2)
- in /usr/src/ucb/ckdir.c line
115(2)
- in /usr/src/ucb/compact/compact.h line
58(2)
- in /usr/src/ucb/csh/sh.c line
453(2),
791(2)
- in /usr/src/ucb/csh/sh.exec.c line
252(2)
- in /usr/src/ucb/csh/sh.exp.c line
416(2)
- in /usr/src/ucb/csh/sh.glob.c line
122(2),
172(2),
321(2)
- in /usr/src/ucb/csh/sh.sem.c line
362(2)
- in /usr/src/ucb/delivermail/conf.c line
360(2),
489(2)
- in /usr/src/ucb/delivermail/conf.skel.c line
274(2),
403(2)
- in /usr/src/ucb/delivermail/vax-mail.c line
132(2),
312(2),
652(2),
728(2),
854(2)
- in /usr/src/ucb/error/errortouch.c line
712(2)
- in /usr/src/ucb/ex/ex2/ex_io.c line
296(2),
410-413(4),
433(2)
- in /usr/src/ucb/ex/ex2/ex_temp.c line
24(2)
- in /usr/src/ucb/ex/ex2/expreserve.c line
62(2),
286(2)
- in /usr/src/ucb/ex/ex2/exrecover.c line
523(2)
- in /usr/src/ucb/ex/ex3/ex_cmdsub.c line
485(2)
- in /usr/src/ucb/ex/ex3/ex_get.c line
67(2)
- in /usr/src/ucb/ex/ex3/ex_io.c line
305(2),
479-482(4),
502(2)
- in /usr/src/ucb/ex/ex3/ex_put.c line
945(2)
- in /usr/src/ucb/ex/ex3/ex_temp.c line
25(2)
- in /usr/src/ucb/ex/ex3/expreserve.c line
75(2),
284(2)
- in /usr/src/ucb/ex/ex3/exrecover.c line
524(2)
- in /usr/src/ucb/finger.c line
1054(2)
- in /usr/src/ucb/fleece.c line
21(2)
- in /usr/src/ucb/lpr/src/lpd.c line
67(2)
- in /usr/src/ucb/lpr/src/lpdrestart.c line
54(2)
- in /usr/src/ucb/lpr/src/lpq.c line
139(2),
242(2),
379(2),
409(2)
- in /usr/src/ucb/lpr/src/lpr.c line
69(2),
414(2)
- in /usr/src/ucb/lpr/src/lprm.c line
247(2)
- in /usr/src/ucb/more.c line
320(2)
- in /usr/src/ucb/msgs/msgs.c line
219(2)
- in /usr/src/ucb/oldcsh/getpwnam.c line
18(2)
- in /usr/src/ucb/oldcsh/getpwuid.c line
19(2)
- in /usr/src/ucb/oldcsh/sh.c line
371(2),
701(2)
- in /usr/src/ucb/oldcsh/sh.exec.c line
243(2)
- in /usr/src/ucb/oldcsh/sh.exp.c line
398(2)
- in /usr/src/ucb/oldcsh/sh.glob.c line
122(2),
172(2),
317(2)
- in /usr/src/ucb/oldcsh/sh.sem.c line
396(2)
- in /usr/src/ucb/pascal/pi/subr.c line
52(2)
- in /usr/src/ucb/pascal/px/int.c line
59(2)
- in /usr/src/ucb/pascal/utilities/gather.c line
76(2)
- in /usr/src/ucb/prmail.c line
46(2)
- in /usr/src/ucb/pwhash/src/cmd/ls.c line
698(2)
- in /usr/src/ucb/sendmail/aux/syslog.c line
954(2)
- in /usr/src/ucb/sendmail/lib/syslog.c line
201(2)
- in /usr/src/ucb/sendmail/src/alias.c line
161(2)
- in /usr/src/ucb/sendmail/src/conf.c line
349(2)
- in /usr/src/ucb/sendmail/src/deliver.c line
1135(2)
- in /usr/src/ucb/sendmail/src/queue.c line
677(2)
- in /usr/src/ucb/sendmail/src/recipient.c line
251(2),
390(2),
458(2)
- in /usr/src/ucb/sendmail/src/util.c line
421(2)
- in /usr/src/ucb/setquota.c line
6(2)
- in /usr/src/ucb/sysline.c line
176(2),
394(2)
- in /usr/src/ucb/untmp.c line
15(2)
- in /usr/src/ucb/uudecode.c line
20(2)
- in /usr/src/ucb/uuencode.c line
18(2)
- in /usr/src/ucb/uusend.c line
32(2)
- in /usr/src/ucb/vgrind/vfontedpr.c line
90(2)
- in /usr/src/ucb/vsh/dir.c line
9(2),
19(2)
- in /usr/src/ucb/vsh/mydir.h line
26(2),
50(2)
- in /usr/src/ucb/w.c line
297(2),
350(2)
Defined macros
S_IFMT
defined in line
16; used 100 times
- in /usr/src/cmd/cat.c line
59
- in /usr/src/cmd/cp.c line
49,
77
- in /usr/src/cmd/df.c line
100-101(2)
- in /usr/src/cmd/diff/diff.c line
131-132(2)
- in /usr/src/cmd/diff/diffdir.c line
243-244(2)
- in /usr/src/cmd/diff/diffh.c line
230
- in /usr/src/cmd/diff/diffreg.c line
110-112(2)
- in /usr/src/cmd/diffh.c line
226
- in /usr/src/cmd/du.c line
87,
102
- in /usr/src/cmd/file.c line
99
- in /usr/src/cmd/find.c line
349,
545,
711
- in /usr/src/cmd/fsck.c line
457,
1213-1215(2),
1300,
1313
- in /usr/src/cmd/ln.c line
49,
82-86(2)
- in /usr/src/cmd/ls/ls.c line
369,
385
- in /usr/src/cmd/ls/symlnk_ls.c line
385,
414
- in /usr/src/cmd/ls/symlnk_ucbls.c line
766,
814
- in /usr/src/cmd/ls/ucbls.c line
748,
783
- in /usr/src/cmd/mail.c line
509,
613
- in /usr/src/cmd/mv.c line
75,
82,
104-114(3),
177
- in /usr/src/cmd/ps/ps.c line
321
- in /usr/src/cmd/reboot.c line
183
- in /usr/src/cmd/rm.c line
81,
119
- in /usr/src/cmd/rmdir.c line
70
- in /usr/src/cmd/savecore.c line
118
- in /usr/src/cmd/sh/expand.c line
67
- in /usr/src/cmd/tail.c line
115
- in /usr/src/cmd/tar.c line
409,
453,
476
- in /usr/src/cmd/tee.c line
39,
51
- in /usr/src/cmd/test.c line
159
- in /usr/src/cmd/tp/tp2.c line
292
- in /usr/src/cmd/uucp/cpmv.c line
32
- in /usr/src/cmd/uucp/expfile.c line
75
- in /usr/src/cmd/uucp/uuclean.c line
101
- in /usr/src/cmd/uucp/uucp.c line
277
- in /usr/src/cmd/uucp/uusend.c line
233
- in /usr/src/lib/c/gen/ttyname.c line
30
- in /usr/src/lib/libI77/open.c line
160
- in /usr/src/ucb/Mail/aux.c line
122
- in /usr/src/ucb/Mail/collect.c line
452
- in /usr/src/ucb/Mail/fio.c line
281
- in /usr/src/ucb/berknet/net.c line
419
- in /usr/src/ucb/ckdir.c line
130
- in /usr/src/ucb/csh/sh.exp.c line
446-450(2)
- in /usr/src/ucb/csh/sh.h line
22
- in /usr/src/ucb/csh/sh.sem.c line
366
- in /usr/src/ucb/delivermail/vax-mail.c line
137,
678,
862
- in /usr/src/ucb/ex/ex2/ex_io.c line
308,
470
- in /usr/src/ucb/ex/ex2/ex_temp.c line
48
- in /usr/src/ucb/ex/ex2/expreserve.c line
113
- in /usr/src/ucb/ex/ex3/ex_io.c line
329,
539
- in /usr/src/ucb/ex/ex3/ex_temp.c line
49
- in /usr/src/ucb/ex/ex3/expreserve.c line
121
- in /usr/src/ucb/lpr/src/lpr.c line
425
- in /usr/src/ucb/more.c line
331
- in /usr/src/ucb/oldcsh/sh.exp.c line
428-432(2)
- in /usr/src/ucb/oldcsh/sh.h line
17
- in /usr/src/ucb/oldcsh/sh.sem.c line
400
- in /usr/src/ucb/pq.c line
18
- in /usr/src/ucb/pwhash/src/cmd/ls.c line
735,
751
- in /usr/src/ucb/sendmail/lib/syslog.c line
271
- in /usr/src/ucb/setquota.c line
68,
111
- in /usr/src/ucb/untmp.c line
35
- in /usr/src/ucb/vsh/classify.c line
23
- in /usr/src/ucb/vsh/remove.c line
5
Usage of this include