9fans archive / 2000 / 04 / 35 / prev next From: Bengt Kleberg bengt@sof... Subject: [9fans] truncate syscall Date: Tue, 11 Apr 2000 09:12:43 +0200 > From: jmk@pla... > 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@sof... ``His great strength is that he is uncompromising. It would make him physically ill to think of programming in C++.''