Read the man page for it. Then actually call it right. It uses a file descriptor. A descriptor is not the same thing as a "FILE*".

Quzah.