-blink-
now thas new...
at the base of things you are correct.. read is what gathers input
_but_ you went a little far.. read (and conversely write) are system level
functions that are part of the way the OS works :) at least that is my
understanding (flawed though it may be). check a little higher
for what you need, if I recall read is used a grand total of once in the code.
in comm.c I think, it grabs the input that is waiting, in this case from the
socket.
(hint :: type man read to get info on the read function)
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, November 09, 2004 4:13 PM
Subject: Read function
I was wondering if anyone know where this function was? I have determined that
it is the one that recieves input from the player and puts it into their
buffer
but I can't seem to find it. I've checked several websites for the libraries
for
C on the web, but none of them have it.
This function is in comm.c. Here is the declaration:
int read args( ( int fd, char *buf, int nbyte ) );
It is used in read_from_descriptor.
Thanks.
--
ROM mailing list
[email protected]
http://www.rom.org/cgi-bin/mailman/listinfo/rom