Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C write() help

Name: Anonymous 2007-02-11 10:59

I just don't get how it works.
write(1, buffer, bytestowrite) writes to stdout.
if i open a file with open() and then do a write(2, etc..) it writes to that file.
thing is how do i know the number every time ? i don't get that :S

Name: Anonymous 2007-02-11 12:42

>>3 cool man thanks for the help
the write man page didn't had that much info

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List