📄 get_stdin.c
字号:
#ifndef lint#ifdef SunB1static char mls_sccsid[] = "@(#)get_stdin.c 1.1 92/07/30 SMI; SunOS MLS";#elsestatic char sccsid[] = "@(#)get_stdin.c 1.1 92/07/30 SMI";#endif /* SunB1 */#endif lint/* * Copyright (c) 1989 Sun Microsystems, Inc. *//* * Name: get_stdin() * * Description: Read a line of input from stdin and call * delete_blanks() to clean it up. This implementation * assumes a buffer size of BUFSIZ bytes. */#include <stdio.h>#include "install.h"voidget_stdin(buf) char buf[BUFSIZ];{ bzero(buf, BUFSIZ); (void) read(0, buf, BUFSIZ); delete_blanks(buf);} /* end get_stdin() */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -