mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
51295a4d3e
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
32 lines
641 B
C
32 lines
641 B
C
/*
|
|
* prompt.c: Routines for retrieving and setting a prompt.
|
|
*
|
|
* Header: prompt.c,v 1.2 89/01/18 18:27:02 raeburn Exp
|
|
* $Locker: $
|
|
*
|
|
* Copyright 1987, 1988 by MIT Student Information Processing Board
|
|
*
|
|
* For copyright information, see copyright.h.
|
|
*/
|
|
|
|
#include "copyright.h"
|
|
#include <stdio.h>
|
|
#include "ss_internal.h"
|
|
|
|
static const char rcsid[] =
|
|
"Header: prompt.c,v 1.2 89/01/18 18:27:02 raeburn Exp ";
|
|
|
|
void
|
|
ss_set_prompt(sci_idx, new_prompt)
|
|
int sci_idx;
|
|
char *new_prompt;
|
|
{
|
|
ss_info(sci_idx)->prompt = new_prompt;
|
|
}
|
|
|
|
char *
|
|
ss_get_prompt(sci_idx)
|
|
int sci_idx;
|
|
{
|
|
return(ss_info(sci_idx)->prompt);
|
|
}
|