Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!im4u!jai From: jai@im4u.UUCP (S. Jayashankar) Newsgroups: comp.sys.ibm.pc Subject: Checking if 2 file pointers refer to the same file from C program. Message-ID: <1291@im4u.UUCP> Date: Thu, 25-Dec-86 23:11:00 EST Article-I.D.: im4u.1291 Posted: Thu Dec 25 23:11:00 1986 Date-Received: Fri, 26-Dec-86 21:37:29 EST Reply-To: jai@im4u.UUCP (Jai Srinivasan) Distribution: world Organization: U. Texas CS Dept., Austin, Texas Lines: 13 [Someone's not hungry enough.] Does anyone know how to check whether 2 file pointers opened independently in a C program point to the same disk file? Using only the documented DOS calls. How does the DOS copy command know when a file is being copied to itself? Any help will be appreciated. Thank you. Jai. ----- Jai Srinivasan, UUCP: {gatech,harvard,ihnp4,pyramid,seismo}!ut-sally!im4u!jai ARPA: jai@im4u.UTEXAS.EDU, jai@sally.UTEXAS.EDU