🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
2 messages
2 total messages Started by Hi Ho Silver Tue, 06 Nov 1990 01:14
simulating the ftruncate() function in C under xenix
#1180
Author: Hi Ho Silver
Date: Tue, 06 Nov 1990 01:14
13 lines
1168 bytes
   I'm trying to compile a C program which uses the ftruncate() function;
however, Xenix (or at least the version here) doesn't have this function.
Can anyone point me towards how to simulate such a beastie?  I'd
appreciate email replies, since articles often tend to expire before
I get to see them.

advTHANXance!
-- 
HI ROGER |Nikebo says "Nikebo knows how to post.  Just do it."| silver@xrtll
_________|-----------------------|_______________|------------|_____________
yunexus!xrtll!silver (L, not 1)  | Hi Ho Silver  | costing the net thousands
Silver:  Ever Searching for SNTF |i need a grilf | upon thousands of dollars
Re: simulating the ftruncate() function in C under xenix
#1199
Author: Paul Chamberlain
Date: Thu, 08 Nov 1990 17:56
8 lines
909 bytes
silver@xrtll.uucp (Hi Ho Silver) writes:
>   I'm trying to compile a C program which uses the ftruncate() function;
>however, Xenix (or at least the version here) doesn't have this function.

See chsize() and use -lx.

Paul Chamberlain | I do NOT represent IBM.     tif@doorstop, sc30661 at ausvm6
512/838-7008     | ...!cs.utexas.edu!ibmchs!auschs!doorstop.austin.ibm.com!tif
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads