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