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

Changeset 6eb2e96 in mainline for uspace/lib/libc/include/string.h


Ignore:
Timestamp:
2009-04-10T07:53:54Z (13 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
3cc6a52
Parents:
f4b1535
Message:

str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/string.h

    rf4b1535 r6eb2e96  
    7070extern int str_lcmp(const char *s1, const char *s2, count_t max_len);
    7171
    72 extern void str_ncpy(char *dst, const char *src, size_t size);
     72extern void str_cpy(char *dest, size_t size, const char *src);
     73extern void str_ncpy(char *dest, size_t size, const char *src, size_t n);
     74
    7375extern void wstr_nstr(char *dst, const wchar_t *src, size_t size);
    7476
     
    8890extern int stricmp(const char *, const char *);
    8991
    90 extern char *strcpy(char *, const char *);
    9192extern char *strcat(char *, const char *);
    9293
Note: See TracChangeset for help on using the changeset viewer.