source: rtems/doc/posix1003.1/ch05.t @ 180ca02

4.104.114.84.95
Last change on this file since 180ca02 was 180ca02, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 2, 1998 at 8:02:27 PM

Added constants through ch13

  • Property mode set to 100644
File size: 5.0 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, Implemented
47O_WRONLY, Constant, Implemented
48O_RDWR, Constant, Implemented
49O_APPEND, Constant, Implemented
50O_CREAT, Constant, Implemented
51O_DSYNC, Constant, Unimplemented
52O_EXCL, Constant, Implemented
53O_NOCTTY, Constant, Implemented
54O_NONBLOCK, Constant, Implemented
55O_RSYNC, Constant, Unimplemented
56O_SYNC, Constant, Implemented
57O_TRUNC, Constant, Implemented
58@end example
59
60NOTE: In the newlib fcntl.h, O_SYNC is defined only if _POSIX_SOURCE is
61not defined.  This seems wrong.
62
63@subsection Create a New File or Rewrite an Existing One
64
65@example
66creat(), Function, Untested Implementation
67@end example
68
69@subsection Set File Creation Mask
70
71@example
72umask(), Function, Unimplemented
73@end example
74
75@subsection Link to a File
76
77@example
78link(), Function, Dummy Implementation
79@end example
80
81@section Special File Creation
82
83@subsection Make a Directory
84
85@example
86mkdir(), Function, Unimplemented, assumes directory services
87@end example
88
89@subsection Make a FIFO Special File
90
91@example
92mkfifo(), Function, Unimplemented
93@end example
94
95@section File Removal
96
97@subsection Remove Directory Entries
98
99@example
100unlink(), Function, Dummy Implementation
101@end example
102
103@subsection Remove a Directory
104
105@example
106rmdir(), Function, Unimplemented
107@end example
108
109@subsection Rename a File
110
111@example
112rename(), Function, Untested Implementation, assumes link/unlink
113@end example
114
115@section File Characteristics
116
117@subsection File Characteristics Header and Data Structure
118
119@example
120struct stat, Type, Untested Implementation
121@end example
122
123@subsubsection <sys/stat.h> File Types
124
125@example
126S_ISBLK(), Function, Implemented
127S_ISCHR(), Function, Implemented
128S_ISDIR(), Function, Implemented
129S_ISFIFO(), Function, Implemented
130S_ISREG(), Function, Implemented
131S_TYPEISMQ(), Function, Unimplemented
132S_TYPEISSEM(), Function, Unimplemented
133S_TYPEISSHM(), Function, Unimplemented
134@end example
135
136@subsubsection <sys/stat.h> File Modes
137
138@example
139S_IRWXU, Constant, Implemented
140S_IRUSR, Constant, Implemented
141S_IWUSR, Constant, Implemented
142S_IXUSR, Constant, Implemented
143S_IRWXG, Constant, Implemented
144S_IRGRP, Constant, Implemented
145S_IWGRP, Constant, Implemented
146S_IXGRP, Constant, Implemented
147S_IRWXO, Constant, Implemented
148S_IROTH, Constant, Implemented
149S_IWOTH, Constant, Implemented
150S_IXOTH, Constant, Implemented
151S_ISUID, Constant, Implemented
152S_ISGID, Constant, Implemented
153@end example
154
155@subsubsection <sys/stat.h> Time Entries
156
157@subsection Get File Status
158
159@example
160stat(), Function, Partial Implementation
161fstat(), Function, Partial Implementation
162@end example
163
164@subsection Check File Accessibility
165
166@example
167access(), Function, Unimplemented
168@end example
169
170@subsection Change File Modes
171
172@example
173chmod(), Function, Unimplemented
174fchmod(), Function, Unimplemented
175@end example
176
177@subsection Change Owner and Group of a File
178
179@example
180chown(), Function, Unimplemented
181@end example
182
183@subsection Set File Access and Modification Times
184
185@example
186struct utimbuf, Type, Unimplemented
187utime(), Function, Unimplemented
188@end example
189
190@subsection Truncate a File to a Specified Length
191
192@example
193ftruncate(), Function, Unimplemented
194@end example
195
196@section Configurable Pathname Variable
197
198@subsection Get Configurable Pathname Variables
199
200@example
201pathconf(), Function, Unimplemented
202fpathconf(), Function, Unimplemented
203_PC_LINK_MAX, Constant, Unimplemented
204_PC_MAX_CANON, Constant, Unimplemented
205_PC_MAX_INPUT, Constant, Unimplemented
206_PC_MAX_INPUT, Constant, Unimplemented
207_PC_NAME_MAX, Constant, Unimplemented
208_PC_PATH_MAX, Constant, Unimplemented
209_PC_PIPE_BUF, Constant, Unimplemented
210_PC_ASYNC_IO, Constant, Unimplemented
211_PC_CHOWN_RESTRICTED, Constant, Unimplemented
212_PC_NO_TRUNC, Constant, Unimplemented
213_PC_PRIO_IO, Constant, Unimplemented
214_PC_SYNC_IO, Constant, Unimplemented
215_PC_VDISABLE, Constant, Unimplemented
216@end example
217
218NOTE: The newlib unistd.h and sys/unistd.h are installed and the
219include search patch is used to get the right one.  There are
220conflicts between the newlib unistd.h and RTEMS' version.' version.
Note: See TracBrowser for help on using the repository browser.