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

📄 pc

📁 Algorithms for Image Processing and Computer Vision Source Code
💻
字号:
@c ----------------------------------------------------------------------
@node pc.h, header
@heading @code{<pc.h>}

This header provides functions specific to the PC arcitecture, like
@code{poke} and video memory access.  To use these functions, add
@code{-lpc} to the end of your link line.

@c ----------------------------------------------------------------------
@node pclose, unix
@heading @code{pclose}
@subheading Syntax

@example
#include <stdio.h>

int pclose(FILE *pipe);
@end example

@subheading Description

This function closes a pipe opened with @code{popen} (@pxref{popen}). 
Note that since MS-DOS is not multitasking, this function will actually
run the program specified in @code{popen} if the pipe was opened for
writing. 

@subheading Return Value

Zero on success, nonzero on failure.

@subheading Example

@example
FILE *f = popen("sort", "w");
write_to_pipe(f);
pclose(f);
@end example

⌨️ 快捷键说明

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