DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

/usr/dt/share/man/cat1/dtfile_error.1




dtfile(1)		 USER COMMANDS			dtfile(1)

NAME
     dtfile_error - the	TED File Manager error-dialog script

SYNOPSIS
     dtfile_error error_message

DESCRIPTION
     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  real-
     ized.  It can also	be used	from a shell script to display an
     error dialog.  This  script  is  used  by	File  Manager  to
     display  an error dialog when exec	fails within a child pro-
     cess.

EXAMPLES
  dtfile_error You did something wrong
     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  dia-
     log.

  execl(dtfile_error, dtfile_error, s, NULL);
     Executed from within a program, this displays an error  dia-
     log. The dialog consists of the message text in the string	s
     and an OK button.	Clicking on OK dismisses the dialog.

Unix System LaboratoLast change: 1 August 1995			1

See also dtfile_error(1)

Man(1) output converted with man2html