blob: 0751baebacf27ee598a1fe61bbc9a5f28020640d (
plain)
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
|
/*
* prompt.c: Routines for retrieving and setting a prompt.
*
* util/ss/prompt.c
*
* 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"
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);
}
|