stupid C question

Douglas J Hunley doug
Mon May 17 11:47:19 PDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roger Oberholtzer spewed electrons into the ether that resembled:
> Try 'man basename', or:

har! smartarse

> char offset_filename[MAX]:
> strcat(offset_filename, basename(argv[1]));
> strcat(offset_filename,".offset");

ok
- -- 
Douglas J Hunley (doug at linux-sxs.org) - Linux User #174778
Admin: Linux StepByStep - http://www.linux-sxs.org
        and http://jobs.linux-sxs.org

Computer games don't affect kids, I mean if Pac Man affected us as kids, we'd 
be sitting around in darkened rooms munching pills and listening to repetitive 
music.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE+wsZf2MO5UukaubkRAojtAJ9HP1CH9+iLI/M+6b8ivYHD/9seNwCfaFtB
BxqkWEN8s1pgBrkwknSCLqQ=
=rqrO
-----END PGP SIGNATURE-----




More information about the Linux-users mailing list