![]() |
This is Unofficial EPICS BASE Doxygen Site
|
Command-line editing functions. More...
#include <libComAPI.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
LIBCOM_API void *epicsStdCall | epicsReadlineBegin (FILE *in) |
Create a command-line context. More... | |
LIBCOM_API char *epicsStdCall | epicsReadline (const char *prompt, void *context) |
Read a line of input. More... | |
LIBCOM_API void epicsStdCall | epicsReadlineEnd (void *context) |
Destroy a command-line context. More... | |
Command-line editing functions.
Provides a generalized API for command line history and line-editing. The implementation of this API can call GNU Readline, libtecla, and on VxWorks the ledLib routines, according to the EPICS build configuration.
Definition in file epicsReadline.h.
LIBCOM_API char* epicsStdCall epicsReadline | ( | const char * | prompt, |
void * | context | ||
) |
Read a line of input.
prompt | Prompt string |
context | To read from |
Definition at line 81 of file epicsReadline.c.
LIBCOM_API void* epicsStdCall epicsReadlineBegin | ( | FILE * | in | ) |
Create a command-line context.
in | Filehandle to read from |
Definition at line 64 of file epicsReadline.c.
LIBCOM_API void epicsStdCall epicsReadlineEnd | ( | void * | context | ) |
Destroy a command-line context.
context | Command-line context to destroy |
Definition at line 141 of file epicsReadline.c.