X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=documentation%2Fapi%2Fmodules%2Fnixio.UnifiedIO.html;h=1717980841eb46eaf86bd5de833abc5c8d602747;hp=22e6e91658fc3ac6595bc45e9147f070844df002;hb=6f7b8e3f5bc0eaea00f479d6197d5381970ecff1;hpb=cd43e35b9d07208277c3665afdd583ccda79d2b8 diff --git a/documentation/api/modules/nixio.UnifiedIO.html b/documentation/api/modules/nixio.UnifiedIO.html index 22e6e9165..171798084 100644 --- a/documentation/api/modules/nixio.UnifiedIO.html +++ b/documentation/api/modules/nixio.UnifiedIO.html @@ -326,7 +326,7 @@
  • The blocksize given is only advisory and to be seen as an upper limit, if an underlying read returns less bytes the chunk is nevertheless returned. -
  • If the limit parameter is ommited, the iterator returns data +
  • If the limit parameter is omitted, the iterator returns data until an end-of-file, end-of-stream, connection shutdown or similar happens.
  • The iterator will not buffer so it is safe to mix with calls to read. @@ -402,7 +402,7 @@ true
  • This function uses the blocksource function of the source descriptor and the sink function of the target descriptor. -
  • If the limit parameter is ommited, data is copied +
  • If the limit parameter is omitted, data is copied until an end-of-file, end-of-stream, connection shutdown or similar happens.
  • If the descriptor is non-blocking the function may fail with EAGAIN. @@ -414,13 +414,13 @@ true

    Return values:

      -
    1. bytes that were successfully written if no error occured +
    2. bytes that were successfully written if no error occurred
    3. - reserved for error code -
    4. - reserved for error message - -
    5. bytes that were successfully written even if an error occured +
    6. bytes that were successfully written even if an error occurred
    @@ -461,7 +461,7 @@ true blocksource function of the source descriptor and the sink function of the target descriptor as a fallback mechanism. -
  • If the limit parameter is ommited, data is copied +
  • If the limit parameter is omitted, data is copied until an end-of-file, end-of-stream, connection shutdown or similar happens.
  • If the descriptor is non-blocking the function may fail with EAGAIN. @@ -473,13 +473,13 @@ true

    Return values:

      -
    1. bytes that were successfully written if no error occured +
    2. bytes that were successfully written if no error occurred
    3. - reserved for error code -
    4. - reserved for error message - -
    5. bytes that were successfully written even if an error occured +
    6. bytes that were successfully written even if an error occurred
    @@ -584,7 +584,7 @@ boolean you can pass "true" to the iterator which will flush the buffer and return the bufferd data. -
  • If the limit parameter is ommited, this function uses the nixio +
  • If the limit parameter is omitted, this function uses the nixio buffersize (8192B by default).
  • If the descriptor is non-blocking the iterator may fail with EAGAIN. @@ -628,7 +628,7 @@ Line-based Iterator
  • This function uses the low-level read function of the descriptor. -
  • If the length parameter is ommited, this function returns all data +
  • If the length parameter is omitted, this function returns all data that can be read before an end-of-file, end-of-stream, connection shutdown or similar happens. @@ -641,13 +641,13 @@ Line-based Iterator

    Return values:

      -
    1. data that was successfully read if no error occured +
    2. data that was successfully read if no error occurred
    3. - reserved for error code -
    4. - reserved for error message - -
    5. data that was successfully read even if an error occured +
    6. data that was successfully read even if an error occurred
    @@ -733,13 +733,13 @@ Sink

    Return values:

      -
    1. bytes that were successfully written if no error occured +
    2. bytes that were successfully written if no error occurred
    3. - reserved for error code -
    4. - reserved for error message - -
    5. bytes that were successfully written even if an error occured +
    6. bytes that were successfully written even if an error occurred