retiring gets(3)

mcdonald at uxe.cso.uiuc.edu mcdonald at uxe.cso.uiuc.edu
Thu Nov 24 07:09:00 AEST 1988



>I suspect that I am far from the only one who would be most
>interested in learning to use gets(3) safely.
-
I don't understand how you can get something like

    gets(3);

past a compiler. Isn't 'gets' supposed to take a char * argument,
not an int literal?



More information about the Comp.lang.c mailing list