li

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

TXT
28
字号
@c ----------------------------------------------------------------------
@node link, io
@heading @code{link}
@subheading Syntax

@example
#include <osfcn.h>

int link(const char *exists, const char *new);
@end example

@subheading Description

Because of limitations of MS-DOS, this function doesn't really link two
files together.  However, it simulates a real @code{link} by copying the
file at @var{exists} to @var{new}. 

@subheading Return Value

Zero on success, nonzero on failure.

@subheading Example

@example
link("foo.c", "foo.bak");
@end example

⌨️ 快捷键说明

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