Ah, yes, "the file offset is not changed".. I forgot about that..
Thanks for correcting me :)
rlc
On Thu, 26 Jun 2003, Brian Dessent wrote:
> Ronald Landheer-Cieslak wrote:
> >
> > pread and pwrite are not in Cygwin (or at least are not exported by
> > cygwin1.dll). They are hardly the most por
Ronald Landheer-Cieslak wrote:
>
> pread and pwrite are not in Cygwin (or at least are not exported by
> cygwin1.dll). They are hardly the most portable functions in the world. I
> suggest you write a wrapper. Something like:
>
>
> ssize_t pread(int fd, void *buf, size_t count, off_t offset)
> {
pread and pwrite are not in Cygwin (or at least are not exported by
cygwin1.dll). They are hardly the most portable functions in the world. I
suggest you write a wrapper. Something like:
ssize_t pread(int fd, void *buf, size_t count, off_t offset)
{
if (lseek(fd, offset, SEEK_SET) == (o
Hi folks,
I am compiling some files which need functions like -pread(), pwrite() which
shud be in libc.a.
But they are not.
This file was actually mean to be complied on linux.
Any ideas how can I overcome this problem
Vikram
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
P
4 matches
Mail list logo