utimens: cache whether utimensat syscall works
[pspp] / lib / uniconv.h
index 74eaee5a0b5d85070dc87838ae3e2397221cd0eb..c7d362a6ef134ed792bf228439f48ccad587c2b4 100644 (file)
@@ -47,10 +47,9 @@ extern "C" {
    array is filled with offsets into the result, i.e. the character starting
    at SRC[i] corresponds to the character starting at (*RESULTP)[OFFSETS[i]],
    and other offsets are set to (size_t)(-1).
-   *RESULTP and *LENGTHP should initially be a scratch buffer and its size,
-   or *RESULTP can initially be NULL.
-   May erase the contents of the memory at *RESULTP.
-   Return value: 0 if successful, otherwise -1 and errno set.
+   RESULTBUF and *LENGTHP should initially be a scratch buffer and its size,
+   or *RESULTBUF can be NULL.
+   May erase the contents of the memory at RESULTBUF.
    If successful: The resulting Unicode string (non-NULL) is returned and its
    length stored in *LENGTHP.  The resulting string is RESULTBUF if no dynamic
    memory allocation was necessary, or a freshly allocated memory block
@@ -88,7 +87,7 @@ extern uint32_t *
    and other offsets are set to (size_t)(-1).
    RESULTBUF and *LENGTHP should initially be a scratch buffer and its size,
    or RESULTBUF can be NULL.
-   May erase the contents of the memory at *RESULTP.
+   May erase the contents of the memory at RESULTBUF.
    If successful: The resulting string (non-NULL) is returned and its length
    stored in *LENGTHP.  The resulting string is RESULTBUF if no dynamic memory
    allocation was necessary, or a freshly allocated memory block otherwise.