This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Variations of memset()


On 08/04/2017 01:11 PM, Matthew Wilcox wrote:
> void *memset16(uint16_t *s, uint16_t v, size_t count);
> void *memset32(uint32_t *s, uint32_t v, size_t count);
> void *memset64(uint64_t *s, uint64_t v, size_t count);
> void *memset_s(unsigned short *p, unsigned short v, size_t count);
> void *memset_i(unsigned int *p, unsigned int v, size_t count);
> void *memset_l(unsigned long *p, unsigned long v, size_t count);
> void *memset_ll(unsigned long long *p, unsigned long long v, size_t count);
> void *memset_p(void **p, void *v, size_t count);

How are users expected to use these functions?

What current uses to users use them for?

-- 
Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]