<!-- $XConsortium: file_err.sgm /main/3 1996/06/19 18:34:55 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. -->

<RefEntry Id="CDEMX.MAN13.rsml.1" Remap="">
<RefMeta>
<RefEntryTitle>dtfile_error</RefEntryTitle>
<ManVolNum>user cmd</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Command>dtfile_error</Command></RefName>
<RefPurpose>the CDE File Manager error-dialog
script
</RefPurpose>
</RefNameDiv>
<!--- -->
<!--     (c) Copyright 1993, 1994 Hewlett-Packard Company-->
<!--     (c) Copyright 1993, 1994 International Business Machines Corp.-->
<!--     (c) Copyright 1993, 1994 Sun Microsystems, Inc.-->
<!--     (c) Copyright 1993, 1994 Novell, Inc.-->
<!--- -->
<RefSynopsisDiv>
<CmdSynopsis>
<Command>dtfile_error error_message</Command>
</CmdSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para>This script can be used by applications to display an error dialog when
it would be difficult or impossible to do in the context of the
executing program. For example, it can be used when exec fails in a
child process or if an error is detected before an application's main
window can be realized. It can also be used from a shell script to
display an error dialog.
</Para>
<Para>This script is used by File Manager to display an error dialog when
exec fails within a child process.
</Para>
</RefSect1>
<RefSect1>
<Title>EXAMPLES</Title>
<RefSect2>
<Title>dtfile_error You did something wrong</Title>
<Para>Executed from a command line, this displays an error dialog. The dialog
consists of the message text, "You did something wrong", and an OK
button. Clicking on OK dismisses the dialog.
</Para>
</RefSect2>
<RefSect2>
<Title>execl(dtfile_error, dtfile_error, s, NULL);</Title>
<Para>Executed from within a program, this displays an error dialog. The
dialog consists of the message text in the string s and an OK button.
Clicking on OK dismisses the dialog.
</Para>
</RefSect2>
</RefSect1>
</RefEntry>
<!--fickle 1.12 mancsf-to-docbook 1.2 08/07/95 01:31:55-->
