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

What is the most efficient way?

Name: Anonymous 2008-05-13 23:06

Ok, so I have socket in C, and I want to read one line from the socket, not including the ending new line. I want to write a function that returns a malloc'd string containing the line.

Name: Anonymous 2008-05-14 6:22

>>16
No such function as fgetln() in standard C, "fget".

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