GStrings and filestreams



Hola, 

I'm *very* interested in attaching GStrings to a filestream.
particularly stdin or a FILE *.

Right now, i need to get user input (stdin) or file input (FILE *) and
put it into a char *.  than copy the char * to a GString.

It would be swell if I could do this in one atomic operation rather than
the char * middleman, which may involve size checking and mallocing.

is this possible?

pete

-- 
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E  70A9 A3B9 1945 67EA 951D



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]