// nmrcd.c #include #include #include int do_stuff(char *tmp) { char buf2[1024]; strcpy(buf2,tmp); return 0; } int main(int argc, char *argv[]) { int i; char buf[4096]; gets(buf); i = do_stuff(buf); return(i); }