source: rtems/doc/posix1003.1/ch05.t @ 7331714

4.104.114.84.95
Last change on this file since 7331714 was 7331714, checked in by Joel Sherrill <joel.sherrill@…>, on Mar 18, 1998 at 6:15:01 PM

Added Constants, Feature Flags, and Macros (included in Functions).
No status information was included.

  • Property mode set to 100644
File size: 4.1 KB
Line 
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
18struct dirent, Type, Unimplemented
19opendir(), Function, Untested Implementation, assumes directory services
20readdir(), Function, Untested Implementation, assumes directory services
21readdir_r(), Function, Untested Implementation, assumes directory services
22rewinddir(), Function, Untested Implementation, assumes directory services
23closedir(), Function, Untested Implementation, assumes directory services
24@end example
25
26@section Working Directory
27
28@subsection Change Current Working Directory
29
30@example
31chdir(), Function, Unimplemented
32@end example
33
34@subsection Get Working Directory Pathname
35
36@example
37getcwd(), Function, Untested Implementation, assumes directory services
38@end example
39
40@section General File Creation
41
42@subsection Open a File
43
44@example
45open(), Function, Implemented, requires rework for directory services
46O_RDONLY, Constant,
47O_WRONLY, Constant,
48O_RDWR, Constant,
49O_APPEND, Constant,
50O_CREAT, Constant,
51O_DSYNC, Constant,
52O_EXCL, Constant,
53O_NOCTTY, Constant,
54O_NONBLOCK, Constant,
55O_RSYNC, Constant,
56O_SYNC, Constant,
57O_TRUNC, Constant,
58@end example
59
60@subsection Create a New File or Rewrite an Existing One
61
62@example
63creat(), Function, Untested Implementation
64@end example
65
66@subsection Set File Creation Mask
67
68@example
69umask(), Function, Unimplemented
70@end example
71
72@subsection Link to a File
73
74@example
75link(), Function, Dummy Implementation
76@end example
77
78@section Special File Creation
79
80@subsection Make a Directory
81
82@example
83mkdir(), Function, Unimplemented, assumes directory services
84@end example
85
86@subsection Make a FIFO Special File
87
88@example
89mkfifo(), Function, Unimplemented
90@end example
91
92@section File Removal
93
94@subsection Remove Directory Entries
95
96@example
97unlink(), Function, Dummy Implementation
98@end example
99
100@subsection Remove a Directory
101
102@example
103rmdir(), Function, Unimplemented
104@end example
105
106@subsection Rename a File
107
108@example
109rename(), Function, Untested Implementation, assumes link/unlink
110@end example
111
112@section File Characteristics
113
114@subsection File Characteristics Header and Data Structure
115
116@example
117struct stat, Type, Untested Implementation
118@end example
119
120@subsubsection <sys/stat.h> File Types
121
122@example
123S_ISDIR(), Function,
124S_ISCHR(), Function,
125S_ISBLK(), Function,
126S_ISREG(), Function,
127S_ISFIFO(), Function,
128S_TYPEISMQ(), Function,
129S_TYPEISSEM(), Function,
130S_TYPEISSHM(), Function,
131@end example
132
133@subsubsection <sys/stat.h> File Modes
134
135@example
136S_IRWXU, Constant,
137S_IRUSR, Constant,
138S_IWUSR, Constant,
139S_IXUSR, Constant,
140S_IRWXG, Constant,
141S_IRGRP, Constant,
142S_IWGRP, Constant,
143S_IXGRP, Constant,
144S_IRWXO, Constant,
145S_IROTH, Constant,
146S_IWOTH, Constant,
147S_IXOTH, Constant,
148S_ISUID, Constant,
149S_ISGID, Constant,
150@end example
151
152@subsubsection <sys/stat.h> Time Entries
153
154@subsection Get File Status
155
156@example
157stat(), Function, Partial Implementation
158fstat(), Function, Partial Implementation
159@end example
160
161@subsection Check File Accessibility
162
163@example
164access(), Function, Unimplemented
165@end example
166
167@subsection Change File Modes
168
169@example
170chmod(), Function, Unimplemented
171fchmod(), Function, Unimplemented
172@end example
173
174@subsection Change Owner and Group of a File
175
176@example
177chown(), Function, Unimplemented
178@end example
179
180@subsection Set File Access and Modification Times
181
182@example
183struct utimbuf, Type, Unimplemented
184utime(), Function, Unimplemented
185@end example
186
187@subsection Truncate a File to a Specified Length
188
189@example
190ftruncate(), Function, Unimplemented
191@end example
192
193@section Configurable Pathname Variable
194
195@subsection Get Configurable Pathname Variables
196
197@example
198pathconf(), Function, Unimplemented
199fpathconf(), Function, Unimplemented
200_PC_LINK_MAX, Constant,
201_PC_MAX_CANON, Constant,
202_PC_MAX_INPUT, Constant,
203_PC_MAX_INPUT, Constant,
204_PC_NAME_MAX, Constant,
205_PC_PATH_MAX, Constant,
206_PC_PIPE_BUF, Constant,
207_PC_ASYNC_IO, Constant,
208_PC_CHOWN_RESTRICTED, Constant,
209_PC_NO_TRUNC, Constant,
210_PC_PRIO_IO, Constant,
211_PC_SYNC_IO, Constant,
212_PC_VDISABLE, Constant,
213@end example
214
Note: See TracBrowser for help on using the repository browser.