Changeset 3f4c897d in mainline


Ignore:
Timestamp:
2011-06-24T23:08:38Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de576907
Parents:
723560f (diff), 458d356 (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.
Message:

Merge libposix changes.

Location:
uspace/lib/posix
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/string.h

    r723560f r3f4c897d  
    105105#ifndef POSIX_STRINGS_H_
    106106extern int posix_ffs(int i);
     107extern int posix_strcasecmp(const char *s1, const char *s2);
     108extern int posix_strncasecmp(const char *s1, const char *s2, size_t n);
    107109#endif
    108110
     
    140142
    141143        #define ffs posix_ffs
     144        #define strcasecmp posix_strcasecmp
     145        #define strncasecmp posix_strncasecmp
    142146#endif
    143147
  • uspace/lib/posix/strings.h

    r723560f r3f4c897d  
    4343
    4444/* String/Array Comparison */
     45#ifndef POSIX_STRING_H_
    4546extern int posix_strcasecmp(const char *s1, const char *s2);
    4647extern int posix_strncasecmp(const char *s1, const char *s2, size_t n);
     48#endif
    4749
    4850/* TODO: not implemented due to missing locale.h
Note: See TracChangeset for help on using the changeset viewer.