|
|
kills55555
銅驢友〔初級〕
複殺5-苦力
. 積分: 105
. 文章: 308
. 收花: 762 支
. 送花: 1615 支
. 比例: 2.12
. 在線: 1408 小時
. 瀏覽: 17364 頁
. 註冊: 7450 天
. 失蹤: 53 天
. Taiwan |
|
|
|
|
|
|
#2 : 2007-8-30 10:07 AM
全部回覆
|
送花
(0)
送出中...
|
|
|
嗯 這台是我們的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 .. 出一堆亂碼
我看通通是問號(??) 貼到論壇上不是問號了,但還是亂碼
[如果你喜歡本文章,就按本文章之鮮花~送花給作者吧,你的支持就是別人的動力來源]
|
|