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

FreeBSD Manual Pages

  
 
  

home | help
GETSIGNAME(3)		     MBK LOGICAL FUNCTIONS		 GETSIGNAME(3)

NAME
       getsigname - choose a signal name in alias list

SYNOPSYS
       #include	"mlo.h"
       char *getsigname(ptsig)
       losig_list *ptsig;

PARAMETER
       ptsig		   Pointer to losig_list

DESCRIPTION
       The getsigname function choose the higher hierachical level name	of the
       alias list of a signal.	The alias list is pointer to by	the  NAMECHAIN
       pointer	of the losig structure,	and contains zero or more names	corre-
       sponding	to the signal.	Since the signal may result  from  a  flatten,
       instance	names may be concatenated to the actual	signal name.

RETURN VALUE
       getsigname  returns the higher hierachy level name, if ptsig-_NAMECHAIN
       is not NULL, else a name	constructed with the signal INDEX is returned.

EXAMPLE
       #include	"mlo.h"
       void print_signame(p)
       losig_list *p;
       {
	  fprintf(stdout, "signal name : %s\n",	getsigname(p));
       }

SEE ALSO
       mbk(1), losig(3), chain(3).

ASIM/LIP6			October	1, 1997			 GETSIGNAME(3)

NAME | SYNOPSYS | PARAMETER | DESCRIPTION | RETURN VALUE | EXAMPLE | SEE ALSO

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

home | help