嗯 這台是我們的server,沒辦法去本機看,不是我管的(但大家都有root的權限 所以要改系統是ok的)
我用SecureCRT連過去的(ssh)
我貼個man page 上來
--------------------------------------------------------------------------------------
FOPEN(3) Linux Programmer’s Manual FOPEN(3)
NAME
fopen, fdopen, freopen - stream open functions
SYNOPSIS
#include <stdio.h>
FILE *fopen(const char *path, const char *mode);
FILE *fdopen(int fildes, const char *mode);
FILE *freopen(const char *path, const char *mode, FILE *stream);
.
.
.
The mode string can also include the letter ‘‘b’’ either as a last character or as a charac-
ter between the characters in any of the two-character strings described above. This is
strictly for compatibility with ANSI X3.159-1989 (‘‘ANSI C’’) and has no effect; the ‘‘b’’
is ignored on all POSIX conforming systems, including Linux. (Other systems may treat text
files and binary files differently, and adding the ‘‘b’’ may be a good idea if you do I/O to
a binary file and expect that your program may be ported to non-Unix environments.)
--------------------------------------------------------------------------------------
這是我的man fopen .. 出一堆亂碼
我看通通是問號(??) 貼到論壇上不是問號了,但還是亂碼
|