This is the mail archive of the libc-help@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] |
On 06 Sep 2015 12:03, Ben wrote: > I was wondering if there is any way for an application to 'know' > which implementation is used. not really, by design > The specific reason is: I want to override the posix implementation > with a non-atomic one. > (So just iterating over the vector until all is written.) just define & export the symbol then in a shared library and link or LD_PRELOAD it to interpose your version of the symbol > Furthermore, looking at the platform specific implementations, > they need to have the offset split into high and low value, I get that. i wouldn't worry about trying to call the kernel directly. use dlopen and dlsym to get the symbol of the real pwritev from libc.so and call that one at a time on a single iovec element. -mike
Attachment:
signature.asc
Description: Digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |