fc

来自「Algorithms for Image Processing and Comp」· 代码 · 共 44 行

TXT
44
字号
@c ----------------------------------------------------------------------
@node fchmod, unix
@heading @code{fchmod}
@subheading Syntax

@example
#include <unistd.h>

int fchmod(int file, int mode);
@end example

@subheading Description

This function is not implemented under MS-DOS.  If you call it, it will
only write a warning to stderr. 

@c ----------------------------------------------------------------------
@node fclose, stdio
@heading @code{fclose}
@subheading Syntax

@example
#include <stdio.h>

int fclose(FILE *file);
@end example

@subheading Description

This function closes the given @var{file}.

@subheading Return Value

Zero on success, else @code{EOF}. 

@subheading Example

@example
FILE *f = fopen("data", "r");
fprintf(f, "Hello\n");
fclose(f);
@end example

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?