Hello !

I'm trying to use the command *fwrite()* (not write()) to write the content
of de->d_name (de is the structure name,) to a file, I have tried many ways
but it always get scrambled and I hear beeps (like trying to cat a binary
file).

I'm using the "a" mode for fopen not "b".

What can I do to write to a file ?

BTW the d_name member is a char *d_name[]

Thanks in advance


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to