forked from Stichting-MINIX-Research-Foundation/minix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgetcomm.h
More file actions
executable file
·36 lines (30 loc) · 752 Bytes
/
Copy pathgetcomm.h
File metadata and controls
executable file
·36 lines (30 loc) · 752 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/* Copyright (c) 1985 Ceriel J.H. Jacobs */
/* $Header$ */
# ifndef _GETCOMM_
# define PUBLIC extern
# else
# define PUBLIC
# endif
int 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