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

Changeset dbd3dfb in mainline


Ignore:
Timestamp:
2012-07-24T13:52:41Z (9 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master
Children:
2696a76
Parents:
a2348a9
Message:

Added kernel bzero().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/memstr.h

    ra2348a9 rdbd3dfb  
    4040#define memset(dst, val, cnt)  __builtin_memset((dst), (val), (cnt))
    4141#define memcpy(dst, src, cnt)  __builtin_memcpy((dst), (src), (cnt))
     42#define bzero(dst, cnt)        memset((dst), 0, (cnt))
    4243
    4344extern void memsetb(void *, size_t, uint8_t);
Note: See TracChangeset for help on using the changeset viewer.