calling fgets()

Red resmith at lavabit.com
Sun Dec 23 05:36:19 PST 2012


How would I call the C library routine fgets() ?

char *fgets(char *s, int size, FILE *stream);

My problem is with the first argument. I am not sure what to 
declare and how to pass it. I tried doing it as you would in C, 
but it doesn't compile.


More information about the Digitalmars-d-learn mailing list