Date: Fri, 26 Dec 2008 17:13:39 -0800 From: Gary Kline <kline@thought.org> To: FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG> Subject: how can i be certain that a file has copied exactly? Message-ID: <20081227011335.GA29354@thought.org>
next in thread | raw e-mail | index | archive | help
folks, 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) fn? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 2.17a release of Jottings: http://jottings.thought.org/index.php
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081227011335.GA29354>