Changeset 33903 in vbox for trunk/include
- Timestamp:
- Nov 9, 2010 2:44:55 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 67559
- Location:
- trunk/include/iprt
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/err.h
r33887 r33903 1294 1294 /** The compression method is unsupported. */ 1295 1295 #define VERR_ZIP_UNSUPPORTED_METHOD (-954) 1296 /** The compressed data started with a bad header. */ 1297 #define VERR_ZIP_BAD_HEADER (-955) 1296 1298 /** @} */ 1297 1299 -
trunk/include/iprt/vfs.h
r33859 r33903 211 211 * @param pvBuf Where to store the read bytes. 212 212 * @param cbToRead The number of bytes to read. 213 * @param pcbRead Where to store the number of bytes actually read.214 * If this is NULL, the call will block until @a215 * cbToRead bytes are available. If this is non-NULL,216 * the call will not block and return what is currently217 * avaiable.213 * @param pcbRead Where to always store the number of bytes actually 214 * read. If this is NULL, the call will block until 215 * @a cbToRead bytes are available. If this is 216 * non-NULL, the call will not block and return what 217 * is currently avaiable. 218 218 * @sa RTFileRead, RTPipeRead, RTPipeReadBlocking, RTSocketRead 219 219 */ … … 227 227 * @param pvBuf The bytes to write. 228 228 * @param cbToWrite The number of bytes to write. 229 * @param pcbWritten Where to store the number of bytes actually written. 230 * If this is NULL, the call will block until @a 231 * cbToWrite bytes are available. If this is non-NULL, 232 * the call will not block and return after writing 233 * what is possible. 229 * @param pcbWritten Where to always store the number of bytes actually 230 * written. If this is NULL, the call will block 231 * until 232 * @a cbToWrite bytes are available. If this is 233 * non-NULL, the call will not block and return after 234 * writing what is possible. 234 235 * @sa RTFileWrite, RTPipeWrite, RTPipeWriteBlocking, RTSocketWrite 235 236 */ … … 240 241 * 241 242 * @returns IPRT status code. 243 * @retval VINF_SUCCESS and the number of bytes read written to @a pcbRead. 244 * @retval VINF_TRY_AGAIN if @a fBlocking is @c false, @a pcbRead is not NULL, 245 * and no data was available. @a *pcbRead will be set to 0. 246 * @retval VINF_EOF when trying to read __beyond__ the end of the stream and 247 * @a pcbRead is not NULL (it will be set to the number of bytes read, 248 * or 0 if the end of the stream was reached before this call). 249 * When the last byte of the read request is the last byte in the 250 * stream, this status code will not be used. However, VINF_EOF is 251 * returned when attempting to read 0 bytes while standing at the end 252 * of the stream. 253 * @retval VERR_EOF when trying to read __beyond__ the end of the stream and 254 * @a pcbRead is NULL. 255 * 242 256 * @param hVfsIos The VFS I/O stream handle. 243 257 * @param pSgBuf Pointer to a scatter buffer descriptor. The number … … 246 260 * @param fBlocking Whether the call is blocking (@c true) or not. If 247 261 * not, the @a pcbRead parameter must not be NULL. 248 * @param pcbRead Where to store the number of bytes actually read.249 * This can be NULL if @a fBlocking is true.250 * @sa RTFileSgRead, RTSocketSgRead 262 * @param pcbRead Where to always store the number of bytes actually 263 * read. This can be NULL if @a fBlocking is true. 264 * @sa RTFileSgRead, RTSocketSgRead, RTPipeRead, RTPipeReadBlocking 251 265 */ 252 266 RTDECL(int) RTVfsIoStrmSgRead(RTVFSIOSTREAM hVfsIos, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead); … … 262 276 * @param fBlocking Whether the call is blocking (@c true) or not. If 263 277 * not, the @a pcbWritten parameter must not be NULL. 264 * @param pcbRead Where to store the number of bytes actually written.265 * This can be NULL if @a fBlocking is true.278 * @param pcbRead Where to always store the number of bytes actually 279 * written. This can be NULL if @a fBlocking is true. 266 280 * @sa RTFileSgWrite, RTSocketSgWrite 267 281 */ -
trunk/include/iprt/vfslowlevel.h
r33887 r33903 429 429 * Reads from the file/stream. 430 430 * 431 * @returns IPRT status code. 431 * @returns IPRT status code. See RTVfsIoStrmRead. 432 432 * @param pvThis The implementation specific file data. 433 433 * @param off Where to read at, -1 for the current position. … … 436 436 * @param fBlocking If @c true, the call is blocking, if @c false it 437 437 * should not block. 438 * @param pcbRead Where return the number of bytes actually read. If 439 * NULL, try read all and fail if incomplete. 440 * @sa RTFileRead, RTFileReadAt. 438 * @param pcbRead Where return the number of bytes actually read. 439 * This is set it 0 by the caller. If NULL, try read 440 * all and fail if incomplete. 441 * @sa RTVfsIoStrmRead, RTVfsIoStrmSgRead, RTVfsFileRead, 442 * RTVfsFileReadAt, RTFileRead, RTFileReadAt. 441 443 */ 442 444 DECLCALLBACKMEMBER(int, pfnRead)(void *pvThis, RTFOFF off, PCRTSGBUF pSgBuf, bool fBlocking, size_t *pcbRead); … … 453 455 * @param fBlocking If @c true, the call is blocking, if @c false it 454 456 * should not block. 455 * @param pcbWrit eWhere to return the number of bytes actually456 * written. If NULL, try write it all and fail if457 * incomplete.457 * @param pcbWritten Where to return the number of bytes actually 458 * written. This is set it 0 by the caller. If 459 * NULL, try write it all and fail if incomplete. 458 460 * @sa RTFileWrite, RTFileWriteAt. 459 461 */
Note:
See TracChangeset
for help on using the changeset viewer.