On Jun 16, 9:00 am, Marco Nelissen <[email protected]> wrote:
> > So looking back at the 'writeline'
> > function in /device/system/reference-ril/atchannel.c the commands gets
> > sent to a function named 'write'. At the time of my previous question
> > I thought this was in the FakeDev. I'm guessing this is not the case
> > for when the code is ported to the device.
>
> Isn't that just the POSIX write() function from libc ?
Put another way:
% man 2 write
NAME
write - write to a file descriptor
SYNOPSIS
#include <unistd.h>
ssize_t write(int fd, const void *buf, size_t count);
DESCRIPTION
write() writes up to count bytes from the buffer pointed
buf to the
file referred to by the file descriptor fd.
[...]
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---