source: rtems/doc/posix1003.1/ch05.t @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

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