Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site ki4pv.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!houxm!vax135!petsd!peora!ucf-cs!ki4pv!tanner From: tanner@ki4pv.UUCP (Tanner Andrews) Newsgroups: net.unix Subject: Re: file system query Message-ID: <220@ki4pv.UUCP> Date: Fri, 3-May-85 11:30:39 EDT Article-I.D.: ki4pv.220 Posted: Fri May 3 11:30:39 1985 Date-Received: Sun, 5-May-85 02:01:46 EDT References: <10195@brl-tgr.ARPA> Organization: CompuData South, DeLand Lines: 18 Opening for append using [see] fopen(3) does not cause anything of great magic to happen to the op system. The basic procedure involved is: (1) open file (2) seek to end (3) fill buffer and write to file in current position Consider the case for more than one process happening at once: Of course, if you have two people that open the file and seek to the end, both will seek to the SAME end. Then, when they start their output, the output will go to the same place. The guy that gets there LAST wins, of course. Of course you may get the same effect by using [see] open(2) and [see] lseek(2) to the end of the file, then writing. The result still probably isn't what you had in mind. -- Tanner Andrews, KI4PV