This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
ftruncate substitute
- From: Shaun Jackman <sjackman at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Mon, 6 Dec 2004 18:34:52 -0800
- Subject: ftruncate substitute
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
I'm porting a glibc application to newlib. The application uses a
couple functions not in newlib, ftruncate and usleep. For usleep I can
substitue a call to nanosleep; although I'll probably just implement
usleep using nanosleep. With what can I replace the ftruncate function
call?
Thanks,
Shaun