⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fw

📁 Algorithms for Image Processing and Computer Vision Source Code
💻
字号:
@c ----------------------------------------------------------------------
@node _fwalk, stdio
@heading @code{_fwalk}
@subheading Syntax

@example
void _fwalk(void (*function)(FILE *file));
@end example

@subheading Description

For each open file in the system, the given @var{function} is called,
passing the file pointer as it's only argument

@subheading Return Value

None.

@subheading Example

@example
void pfile(FILE *x)
@{ printf("FILE at %x\n", x); @}

_fwalk(pfile);
@end example

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

@example
#include <stdio.h>

size_t fwrite(void *buffer, size_t size, size_t number, FILE *file);
@end example

@subheading Description

This function writes @var{size}*@var{number} characters from @var{buffer}
to @var{file}.

@subheading Return Value

The number of items of size @var{size} written, or -1 on error.

@subheading Example

@example
int foo[10];
fwrite(foo, sizeof(int), 10, stdin);
@end example


⌨️ 快捷键说明

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