1 | @c |
---|
2 | @c COPYRIGHT (c) 1988-1998. |
---|
3 | @c On-Line Applications Research Corporation (OAR). |
---|
4 | @c All rights reserved. |
---|
5 | @c |
---|
6 | @c $Id$ |
---|
7 | @c |
---|
8 | |
---|
9 | @chapter Files and Directories |
---|
10 | |
---|
11 | @section Directories |
---|
12 | |
---|
13 | @subsection Format of Directory Entries |
---|
14 | |
---|
15 | @subsection Directory Operations |
---|
16 | |
---|
17 | @example |
---|
18 | opendir(), Function |
---|
19 | readdir(), Function |
---|
20 | readdir_r(), Function |
---|
21 | rewinddir(), Function |
---|
22 | closedir(), Function |
---|
23 | @end example |
---|
24 | |
---|
25 | @section Working Directory |
---|
26 | |
---|
27 | @subsection Change Current Working Directory |
---|
28 | |
---|
29 | @example |
---|
30 | chdir(), Function |
---|
31 | @end example |
---|
32 | |
---|
33 | @subsection Get Working Directory Pathname |
---|
34 | |
---|
35 | @example |
---|
36 | getcwd(), Function |
---|
37 | @end example |
---|
38 | |
---|
39 | @section General File Creation |
---|
40 | |
---|
41 | @subsection Open a File |
---|
42 | |
---|
43 | @example |
---|
44 | open(), Function |
---|
45 | @end example |
---|
46 | |
---|
47 | @subsection Create a New File or Rewrite an Existing One |
---|
48 | |
---|
49 | @example |
---|
50 | creat(), Function |
---|
51 | @end example |
---|
52 | |
---|
53 | @subsection Set File Creation Mask |
---|
54 | |
---|
55 | @example |
---|
56 | umask(), Function |
---|
57 | @end example |
---|
58 | |
---|
59 | @subsection Link to a File |
---|
60 | |
---|
61 | @example |
---|
62 | link(), Function |
---|
63 | @end example |
---|
64 | |
---|
65 | @section Special File Creation |
---|
66 | |
---|
67 | @subsection Make a Directory |
---|
68 | |
---|
69 | @example |
---|
70 | mkdir(), Function |
---|
71 | @end example |
---|
72 | |
---|
73 | @subsection Make a FIFO Special File |
---|
74 | |
---|
75 | @example |
---|
76 | mkfifo(), Function |
---|
77 | @end example |
---|
78 | |
---|
79 | @section File Removal |
---|
80 | |
---|
81 | @subsection Remove Directory Entries |
---|
82 | |
---|
83 | @example |
---|
84 | unlink(), Function |
---|
85 | @end example |
---|
86 | |
---|
87 | @subsection Remove a Directory |
---|
88 | |
---|
89 | @example |
---|
90 | rmdir(), Function |
---|
91 | @end example |
---|
92 | |
---|
93 | @subsection Rename a File |
---|
94 | |
---|
95 | @example |
---|
96 | rename(), Function |
---|
97 | @end example |
---|
98 | |
---|
99 | @section File Characteristics |
---|
100 | |
---|
101 | @subsection File Characteristics Header and Data Structure |
---|
102 | |
---|
103 | @subsection Get File Status |
---|
104 | |
---|
105 | @example |
---|
106 | stat(), Function |
---|
107 | fstat(), Function |
---|
108 | @end example |
---|
109 | |
---|
110 | @subsection Check File Accessibility |
---|
111 | |
---|
112 | @example |
---|
113 | access(), Function |
---|
114 | @end example |
---|
115 | |
---|
116 | @subsection Change File Modes |
---|
117 | |
---|
118 | @example |
---|
119 | chmod(), Function |
---|
120 | fchmod(), Function |
---|
121 | @end example |
---|
122 | |
---|
123 | @subsection Change Owner and Group of a File |
---|
124 | |
---|
125 | @example |
---|
126 | chown(), Function |
---|
127 | @end example |
---|
128 | |
---|
129 | @subsection Set File Access and Modification Times |
---|
130 | |
---|
131 | @example |
---|
132 | utime(), Function |
---|
133 | @end example |
---|
134 | |
---|
135 | @subsection Truncate a File to a Specified Length |
---|
136 | |
---|
137 | @example |
---|
138 | ftruncate(), Function |
---|
139 | @end example |
---|
140 | |
---|
141 | @section Configurable Pathname Variable |
---|
142 | |
---|
143 | @example |
---|
144 | pathconf(), Function |
---|
145 | fpathconf(), Function |
---|
146 | @end example |
---|
147 | |
---|
148 | @subsection Get Configurable Pathname Variables |
---|
149 | |
---|