library/src/terminal/BP-LinuxTerminal.cc
// Destroys all data within a P_BP_LINUX_TERMINAL_INFO structure, including the
// structure itself.
Destroys all data within a P_BP_LINUX_TERMINAL_INFO structure, including the
structure itself.
Destroys all data within a P_BP_LINUX_TERMINAL_INFO structure including the structure itself .
BP_ERROR_T BP_DestroyTerminalInformationLinux(P_BP_LINUX_TERMINAL_INFO terminal_info)
{
	if(!terminal_info)
		return ERR_FAILURE;
	if(terminal_info->tq)
	{
		BP_DestroyLinkL(terminal_info->tq, BP_TRUE);
	}
	bpfree(terminal_info);
	return ERR_SUCCESS;
}
BP_ERROR_T BP_DestroyTerminalInformationLinux ( P_BP_LINUX_TERMINAL_INFO terminal_info ) { if ( ! terminal_info ) return ERR_FAILURE ; if ( terminal_info -> tq ) { BP_DestroyLinkL ( terminal_info -> tq , BP_TRUE ) ; } bpfree ( terminal_info ) ; return ERR_SUCCESS ; }
Destroys all data within a P_BP_LINUX_TERMINAL_INFO structure, including the
structure itself.
Destroys all data within a P_BP_LINUX_TERMINAL_INFO structure including the structure itself .
// ensure we have a pointer to destroy // destroy the tail queue allocator if necessary // destroy the structure itself // return indicating success