query_ed_mode.3
tmi2_fluffos_v2/lib/doc/driverdoc/efuns/ed/query_ed_mode.3 · 595 B
From the archive tmi2_fluffos_v2.zip
Download the archive « Back to the archive contents
.\"find out the status of the current ed session
.TH query_ed_mode 3 "22 Jan 1995" MudOS "LPC Library Functions"
.SH NAME
query_ed_mode() - find out the status of the current ed session
.SH SYNOPSIS
.nf
int query_ed_mode()
.SH DESCRIPTION
Finds the status of the ed session for the current object, if one
exists. It returns:
0 - the current object is at a normal ed prompt (':')
-1 - the current object isn't in ed
-2 - the current object is at the more prompt in the
middle of help
>0 - the object is at a prompt for a line. The number
is the line number.