How to implement the ftruncate function : Hi I just have a simple question; I am trying to use the function "ftruncate" to truncate a file, so my question is how do you inplement this function?

Thanks 