Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
ttdt_close(library call)			      ttdt_close(library call)

NAME
       ttdt_close -- destroy a ToolTalk	communication endpoint

SYNOPSIS
       #include	<Tt/tttk.h>
       Tt_status ttdt_close(
       const char *procid,
       const char *new_procid,
       int sendStopped);

DESCRIPTION
       The ttdt_close function destroys	a ToolTalk communication endpoint.

       If sendStopped is True, the ttdt_close function sends a Stopped notice;
       otherwise, it sends no notice.  If procid is not	NULL, ttdt_close calls
       tt_default_procid_set  with  a procid argument and then calls tt_close;
       otherwise, it closes the	current	default	procid.	 If new_procid is  not
       NULL,  ttdt_close  calls	 tt_default_procid_set with a new_procid argu-
       ment.

RETURN VALUE
       The ttdt_close function may return any of the errors returned by	tt_de-
       fault_procid_set(3) and tt_close(3).

       No errors are propagated	if sending the Stopped notice fails.

SEE ALSO
       Tt/tttk.h    -	Tttttk(5),   ttdt_open(3),   tt_default_procid_set(3),
       tt_close(3).

						      ttdt_close(library call)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ttdt_close&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help