From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 11 Apr 2000 09:12:43 +0200 From: Bengt Kleberg bengt@softwell.se Subject: [9fans] truncate syscall Topicbox-Message-UUID: a1651022-eac8-11e9-9e20-41e7f4b1d025 Message-ID: <20000411071243.9iPSabmRz1R1QehDrX7hK9NNJ3VUtZO79nRQNSbIV30@z> > From: jmk@plan9.bell-labs.com > just out of curiosity, what are the practical uses of truncation I use truncation (in a comm library for miniml Posix systems, ie AS400 too) to make sure that a shared file (both sides have a file descriptor to it) only contains the new data. The other side reads the whole file and knows that is all. Best Wishes, Bengt =============================================================== Everything aforementioned should be regarded as totally private opinions, and nothing else. bengt@softwell.se ``His great strength is that he is uncompromising. It would make him physically ill to think of programming in C++.''