home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Il CD di internet
/
CD.iso
/
SOURCE
/
KERNEL-S
/
V1.2
/
LINUX-1.2
/
LINUX-1
/
linux
/
include
/
asm-alpha
/
string.h
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1995-01-29
|
327 b
|
13 lines
#ifndef __ALPHA_STRING_H
#define __ALPHA_STRING_H
extern void * __constant_c_memset(void *, unsigned long, long);
extern void * __memset(void *, char, size_t);
#define memset(s, c, count) \
(__builtin_constant_p(c) ? \
__constant_c_memset((s),(0x01010101UL*(unsigned char)c),(count)) : \
__memset((s),(c),(count)))
#endif