Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
100
cde/doc/C/guides/man/m3_ttdt/ses_quit.sgm
Normal file
100
cde/doc/C/guides/man/m3_ttdt/ses_quit.sgm
Normal file
@@ -0,0 +1,100 @@
|
||||
<!-- $XConsortium: ses_quit.sgm /main/5 1996/08/30 14:31:54 rws $ -->
|
||||
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
|
||||
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
|
||||
<!-- (c) Copyright 1995 International Business Machines Corp. -->
|
||||
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
|
||||
<!-- (c) Copyright 1995 Novell, Inc. -->
|
||||
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
|
||||
<!-- (c) Copyright 1995 Hitachi. -->
|
||||
|
||||
<![ %CDE.C.CDE; [<RefEntry Id="CDEMX.XCDI.MAN267.rsml.1">]]>
|
||||
<![ %CDE.C.XO; [<RefEntry Id="XCDI.MAN267.rsml.1">]]>
|
||||
<RefMeta>
|
||||
<RefEntryTitle>ttdt_session_quit</RefEntryTitle>
|
||||
<ManVolNum>library call</ManVolNum>
|
||||
</RefMeta>
|
||||
<RefNameDiv>
|
||||
<RefName><Function>ttdt_session_quit</Function></RefName>
|
||||
<RefPurpose>quit a ToolTalk session
|
||||
</RefPurpose>
|
||||
</RefNameDiv>
|
||||
<!-- $XConsortium: ses_quit.sgm /main/5 1996/08/30 14:31:54 rws $-->
|
||||
<!-- CDE Common Source Format, Version 1.0.0-->
|
||||
<!-- (c) Copyright 1993, 1994, 1995 Hewlett-Packard Company-->
|
||||
<!-- (c) Copyright 1993, 1994, 1995 International Business Machines Corp.-->
|
||||
<!-- (c) Copyright 1993, 1994, 1995 Sun Microsystems, Inc.-->
|
||||
<!-- (c) Copyright 1993, 1994, 1995 Novell, Inc.-->
|
||||
<RefSynopsisDiv>
|
||||
<FuncSynopsis Remap="ANSI">
|
||||
<FuncSynopsisInfo>#include <Tt/tttk.h>
|
||||
</FuncSynopsisInfo>
|
||||
<FuncDef>Tt_status <Function>ttdt_session_quit</Function></FuncDef>
|
||||
<ParamDef>const char *<Parameter>sessid</Parameter></ParamDef>
|
||||
<ParamDef>Tt_pattern *<Parameter>sess_pats</Parameter></ParamDef>
|
||||
<ParamDef>int <Parameter>quit</Parameter></ParamDef>
|
||||
</FuncSynopsis>
|
||||
</RefSynopsisDiv>
|
||||
<RefSect1>
|
||||
<Title>DESCRIPTION</Title>
|
||||
<Para>The
|
||||
<Function>ttdt_session_quit</Function> function
|
||||
destroys the patterns in
|
||||
<Emphasis>sess_pats</Emphasis>. If
|
||||
<Symbol Role="Variable">quit</Symbol> is True,
|
||||
it quits the session
|
||||
<Emphasis>sessid</Emphasis>, or the default session if
|
||||
<Emphasis>sessid</Emphasis> is
|
||||
<SystemItem Class="Constant">NULL</SystemItem>.</Para>
|
||||
</RefSect1>
|
||||
<RefSect1>
|
||||
<Title>RETURN VALUE</Title>
|
||||
<Para>Upon successful completion, the
|
||||
<Function>ttdt_session_quit</Function> function returns the status of the operation as one of the following
|
||||
<StructName Role="typedef">Tt_status</StructName> values:
|
||||
</Para>
|
||||
<VariableList>
|
||||
<VarListEntry>
|
||||
<Term>TT_OK</Term>
|
||||
<ListItem>
|
||||
<Para>The operation completed successfully.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
<VarListEntry>
|
||||
<Term>TT_ERR_NOMP</Term>
|
||||
<ListItem>
|
||||
<Para>The
|
||||
&cdeman.ttsession; process is not running and the ToolTalk service cannot restart it.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
<VarListEntry>
|
||||
<Term>TT_ERR_POINTER</Term>
|
||||
<ListItem>
|
||||
<Para>The pointer passed does not point to an object
|
||||
of the correct type for this operation.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
<VarListEntry>
|
||||
<Term>TT_ERR_PROCID</Term>
|
||||
<ListItem>
|
||||
<Para>The specified process identifier is out of date or invalid.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
<VarListEntry>
|
||||
<Term>TT_ERR_SESSION</Term>
|
||||
<ListItem>
|
||||
<Para>The specified ToolTalk session is out of date or invalid.
|
||||
</Para>
|
||||
</ListItem>
|
||||
</VarListEntry>
|
||||
</VariableList>
|
||||
</RefSect1>
|
||||
<RefSect1>
|
||||
<Title>SEE ALSO</Title>
|
||||
<Para>&cdeman.Tt.tttk.h;, &cdeman.ttdt.session.join;, &cdeman.tt.session.quit;.</Para>
|
||||
</RefSect1>
|
||||
</RefEntry>
|
||||
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 23:18:47-->
|
||||
Reference in New Issue
Block a user