Changeset 4c53333 in mainline for uspace/lib/posix/source/strings.c


Ignore:
Timestamp:
2013-07-11T08:21:10Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
64e63ce1
Parents:
80445cf (diff), c8bb1633 (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 mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/source/strings.c

    r80445cf r4c53333  
    3535
    3636#define LIBPOSIX_INTERNAL
     37#define __POSIX_DEF__(x) posix_##x
    3738
    3839#include "internal/common.h"
    39 #include "strings.h"
     40#include "posix/strings.h"
    4041
    41 #include "string.h"
    42 #include "ctype.h"
     42#include "posix/string.h"
     43#include "posix/ctype.h"
    4344
    4445#include "libc/mem.h"
     
    131132int posix_bcmp(const void *mem1, const void *mem2, size_t n)
    132133{
    133         return bcmp(mem1, mem2, n);
     134        return memcmp(mem1, mem2, n);
    134135}
    135136
     
    155156void posix_bzero(void *mem, size_t n)
    156157{
    157         bzero(mem, n);
     158        memset(mem, 0, n);
    158159}
    159160
Note: See TracChangeset for help on using the changeset viewer.