3 read, write \- transfer data from and to a file
38 from the file identified by
40 which must be opened for reading,
43 bytes after the beginning of the file.
44 The bytes are returned with the
50 field in the reply indicates the number of bytes returned.
51 This may be less than the requested amount.
54 field is greater than or equal to the number of bytes in the file,
55 a count of zero will be returned.
59 returns an integral number of
60 directory entries exactly as in
64 one for each member of the directory.
67 request message must have
69 equal to zero or the value of
73 on the directory, plus the number of bytes
74 returned in the previous
76 In other words, seeking other than to the beginning
77 is illegal in a directory.
83 bytes of data be recorded in the file identified by
85 which must be opened for writing, starting
87 bytes after the beginning of the file.
88 If the file is append-only,
89 the data will be placed at the end of the file regardless of
91 Directories may not be written.
95 reply records the number of bytes actually written.
96 It is usually an error
97 if this is not the same as requested.
99 Because 9P implementations may limit the size of individual
101 more than one message may be produced by a single
110 if non-zero, reports the maximum size that is guaranteed
111 to be transferred atomically.
118 generate the corresponding messages.
119 Because they take an offset parameter, the
123 calls correspond more directly to the 9P messages.
126 affects the offset, it does not generate a message.