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

FreeBSD Manual Pages

  
 
  

home | help
JAM_DelSubPacket(3)	    JAM	subroutine library	   JAM_DelSubPacket(3)

NAME
       JAM_DelSubPacket	- Delete a subfield packet

SYNOPSIS
       #include	<jamlib/jam.h>

       int JAM_DelSubPacket(s_JamSubPacket* SubPack_PS);

DESCRIPTION
       Frees all memory	used by	a subfield packet. All subfields in the	packet
       will be lost and	the packet handle will not be valid any	more.

   Arguments
       SubPack_PS
	      The subfield packet to delete

RETURN VALUE
       0      if successful

       JAM_BAD_PARAM
	      if SubPack_PS is NULL.

EXAMPLES
       s_JamSubPacket*	 SubPacket_PS;

       SubPacket_PS = JAM_NewSubPacket();
       if (!SubPacket_PS) {
	   printf("JAM_NewSubPacket returned NULL.\n");
	   return;
       }

       SubPacket_PS = JAM_DelSubPacket();
       if (!SubPacket_PS) {
	   printf("JAM_DelSubPacket returned NULL.\n");
	   return;
       }

AUTHOR
       This manual page	was created by Sir Raorn <raorn@altlinux.ru>, based on
       original	JAMlib documentation by	Bjorn Stenberg <bjorn@haxx.nu> and Jo-
       han Billing <billing@df.lth.se>.

SEE ALSO
       jamlib(3),   JAM_NewSubPacket(3),    JAM_GetSubfield(3),	   JAM_GetSub-
       field_R(3), JAM_PutSubfield(3)

				  2002-11-07		   JAM_DelSubPacket(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | EXAMPLES | AUTHOR | SEE ALSO

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

home | help