Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/str.c

    rcde999a r16bfcd3  
    3737
    3838#include <str.h>
     39#include <stdlib.h>
    3940#include <stddef.h>
     41#include <assert.h>
    4042#include <stdint.h>
    41 #include <stdlib.h>
    42 #include <assert.h>
    4343#include <ctype.h>
     44#include <malloc.h>
    4445#include <errno.h>
    4546#include <align.h>
     
    918919 * @param src   Source utf16 string.
    919920 *
    920  * @return EOK, if success, an error code otherwise.
     921 * @return EOK, if success, negative otherwise.
    921922 */
    922923int utf16_to_str(char *dest, size_t size, const uint16_t *src)
     
    961962 * @param src   Source string.
    962963 *
    963  * @return EOK, if success, an error code otherwise.
     964 * @return EOK, if success, negative otherwise.
    964965 */
    965966int str_to_utf16(uint16_t *dest, size_t dlen, const char *src)
Note: See TracChangeset for help on using the changeset viewer.