Changeset 0ffbed9 in mainline for uspace/lib/posix/strings.h
- Timestamp:
- 2011-06-19T17:49:29Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5974661
- Parents:
- f48b637 (diff), 32fb6944 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/strings.h
rf48b637 r0ffbed9 1 1 /* 2 2 * Copyright (c) 2011 Jiri Zarevucky 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 36 37 #define POSIX_STRINGS_H_ 37 38 38 extern int posix_ffs(int); 39 /* Search Functions */ 40 extern int posix_ffs(int i); 39 41 40 extern int posix_strcasecmp(const char *, const char *); 41 extern int posix_strncasecmp(const char *, const char *, size_t); 42 /* String/Array Comparison */ 43 extern int posix_strcasecmp(const char *s1, const char *s2); 44 extern int posix_strncasecmp(const char *s1, const char *s2, size_t n); 42 45 43 46 /* TODO: not implemented due to missing locale.h … … 47 50 */ 48 51 49 50 52 /* Legacy Functions */ 51 52 extern int posix_bcmp(const void *, const void *, size_t); 53 extern void posix_bcopy(const void *, void *, size_t); 54 extern void posix_bzero(void *, size_t); 55 extern char *posix_index(const char *, int); 56 extern char *posix_rindex(const char *, int); 53 extern int posix_bcmp(const void *mem1, const void *mem2, size_t n); 54 extern void posix_bcopy(const void *dest, void *src, size_t n); 55 extern void posix_bzero(void *mem, size_t n); 56 extern char *posix_index(const char *s, int c); 57 extern char *posix_rindex(const char *s, int c); 57 58 58 59 #ifndef LIBPOSIX_INTERNAL 59 60 #define ffs posix_ffs 61 60 62 #define strcasecmp posix_strcasecmp 61 63 #define strncasecmp posix_strncasecmp 62 64 63 65 #define bcmp posix_bcmp 64 66 #define bcopy posix_bcopy
Note:
See TracChangeset
for help on using the changeset viewer.