(getstring, getstarg): Use plain char * instead of s_char *.
This commit is contained in:
parent
8f007f7095
commit
48175e9beb
3 changed files with 16 additions and 6 deletions
|
@ -35,8 +35,12 @@
|
|||
#include "gen.h"
|
||||
#include "subs.h"
|
||||
|
||||
s_char *
|
||||
getstring(s_char *prompt, s_char *buf)
|
||||
/*
|
||||
* Print sub-prompt PROMPT, receive a line of input into BUF[1024].
|
||||
* Return BUF on success, else NULL.
|
||||
*/
|
||||
char *
|
||||
getstring(char *prompt, char *buf)
|
||||
{
|
||||
*buf = '\0';
|
||||
if (prmptrd(prompt, buf, 1024) < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue