Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 9a5ae815 in mainline


Ignore:
Timestamp:
2018-09-20T16:06:24Z (3 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master
Children:
8591b31
Parents:
460ea7e
Message:

Fix strxfrm() return type

Location:
uspace/lib/c
Files:
2 edited

Legend:

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

    r460ea7e r9a5ae815  
    218218 *         pointed to by @a s1 are undefined.
    219219 */
    220 int strxfrm(char *s1, const char *s2, size_t n)
     220size_t strxfrm(char *s1, const char *s2, size_t n)
    221221{
    222222        size_t i;
  • uspace/lib/c/include/string.h

    r460ea7e r9a5ae815  
    5151extern int strcoll(const char *, const char *);
    5252extern int strncmp(const char *, const char *, size_t);
    53 extern int strxfrm(char *, const char *, size_t);
     53extern size_t strxfrm(char *, const char *, size_t);
    5454extern char *strchr(const char *, int);
    5555extern size_t strcspn(const char *, const char *);
Note: See TracChangeset for help on using the changeset viewer.