mailing list of musl libc
 help / color / mirror / code / Atom feed
* preadv/pwritev (GNU/BSD) missing from sys/uio.h
@ 2012-04-20  1:20 Isaac Dunham
  2012-04-20  1:47 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Isaac Dunham @ 2012-04-20  1:20 UTC (permalink / raw)
  To: musl

I was examining sys/uio.h (to add _BSD_SOURCE), and found that 
glibc makes the preadv and pwritev functions available if __USE_BSD
is defined (_GNU_SOURCE || _BSD_SOURCE).
These have the same relation to readv and writev that pread and pwrite
have to read and write.

Will these be implemented?

Isaac Dunham



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: preadv/pwritev (GNU/BSD) missing from sys/uio.h
  2012-04-20  1:20 preadv/pwritev (GNU/BSD) missing from sys/uio.h Isaac Dunham
@ 2012-04-20  1:47 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2012-04-20  1:47 UTC (permalink / raw)
  To: musl

On Thu, Apr 19, 2012 at 06:20:50PM -0700, Isaac Dunham wrote:
> I was examining sys/uio.h (to add _BSD_SOURCE), and found that 
> glibc makes the preadv and pwritev functions available if __USE_BSD
> is defined (_GNU_SOURCE || _BSD_SOURCE).
> These have the same relation to readv and writev that pread and pwrite
> have to read and write.
> 
> Will these be implemented?

Yes, I'm aware of them but just never got around to implementing the
syscall wrappers. I'll add them eventually.

Rich


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-20  1:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-20  1:20 preadv/pwritev (GNU/BSD) missing from sys/uio.h Isaac Dunham
2012-04-20  1:47 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).