542.html

来自「linux 0.11中文版 有注释」· HTML 代码 · 共 20 行

HTML
20
字号
<html>
<head>
<title>open</title>
<meta name='robots' content='noindex,nofollow'>
<meta name='generator' content='GLOBAL-5.4.1'>
</head>
<body text='#191970' bgcolor='#f5f5dc' vlink='gray'>
<pre>
<a href='../S/29.html#L77'>open</a>               77 include/fcntl.h extern int open (const char *filename, int flags, ...);
<a href='../S/50.html#L248'>open</a>              248 include/unistd.h       int open (const char *filename, int flag, ...);
<a href='../S/52.html#L239'>open</a>              239 init/main.c        (void) open ("/dev/tty0", O_RDWR, 0);	// 用读写访问方式打开设备“/dev/tty0”,
<a href='../S/52.html#L253'>open</a>              253 init/main.c          if (open ("/etc/rc", O_RDONLY, 0))
<a href='../S/52.html#L284'>open</a>              284 init/main.c    	  (void) open ("/dev/tty0", O_RDWR, 0);
<a href='../S/96.html#L128'>open</a>              128 tools/build.c    if ((id = open (argv[1], O_RDONLY, 0)) &lt; 0)
<a href='../S/96.html#L171'>open</a>              171 tools/build.c    if ((id = open (argv[2], O_RDONLY, 0)) &lt; 0)
<a href='../S/96.html#L221'>open</a>              221 tools/build.c    if ((id = open (argv[3], O_RDONLY, 0)) &lt; 0)
</pre>
</body>
</html>

⌨️ 快捷键说明

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