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: Checking that a memory area is empty


Dear Richard,

Many thanks for your response!

> Slightly off-topic, but if your program needs such a function, it
> could easily be implemented in terms of a loop performing memcmp on a
> fixed-max-size subrange against a static const zero buffer of the
> particular size.

Actually the areas of interest are small but in the general case your
idea is great!

Thanks again!
Sherab.


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