Re: write




"Lew Pitcher" <lpitcher@xxxxxxxxxxxx> wrote in message
news:c05f1$4815066e$4c0a8485$488@xxxxxxxxxxxxxxxxxxxx


open(2) returns the integer -1 on error, and a non-negative integer on
success. This non-negative integer is the "file descriptor" for the file;
it is just a unique number that keeps references to /this/ file separate
from references to any other file, in your program.

Oh sorry I guess after reading the docs again it does return an int
type. I was thinking of write. :)

Bill


.