getcomm.h

来自「minix软件源代码」· C头文件 代码 · 共 37 行

H
37
字号
/* Copyright (c) 1985 Ceriel J.H. Jacobs *//* $Header: getcomm.h,v 7.0 86/12/05 09:36:21 ceriel Exp $ */# ifndef _GETCOMM_# define PUBLIC extern# else# define PUBLIC# endifint	getcomm();/* * int getcomm() * * Reads commands given by the user. The command is returned. */VOID	shellescape();/* * void shellescape(command) * char *command;		The shell command to be executed * * Expands '%' and '!' in the command "command" to the current filename * and the previous command respectively, and then executes "command". */char *	readline();/* * char * readline(prompt) * char *prompt;		Prompt given to the user * * Gives a prompt "prompt" and reads a line to be typed in by the user. * A pointer to this line is returned. Space for this line is static. */# undef PUBLIC

⌨️ 快捷键说明

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