how can i be certain that a file has copied exactly?

Gary Kline kline at
Sat Dec 27 01:13:44 UTC 2008


	is there a way i can be sure that my little C program has copied a
	dos/win file named, say, foo.htm\;7 to simply foo.htm?

	my program uses fopen/fgets/fputs to copy the markup files.  of
	the several i have copied, no problem.  unless i hack cmp or diff, 
	i have to avoid the shell.

	any ideas? in other words, does anybody have a prefab cmp(oldfile, newfile)


 Gary Kline  kline at  Public Service Unix
    The 2.17a release of Jottings:

More information about the freebsd-questions mailing list