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

FreeBSD Manual Pages

  
 
  

home | help
skipInsert(3)			util/skiplist.h			 skipInsert(3)

NAME
       skipInsert  - insert an item.

SYNOPSIS
       #include	<util/skiplist.h>

       NEOERR *skipInsert(skipList list, UINT32	key, void *value, int allowUpdate);

ARGUMENTS
       list - list to add pair to.
       key - key identifying <value>.
       value - value to	store (may NOT be NULL)

DESCRIPTION
       Inserts	the  <key>/<value>  pair into the <list>.  Key values 0	and -1
       are reserved (and illegal).  If key is already in list,	and  <allowUp-
       date> is	true, value is updated,	otherwise SKIPERR_EXISTS is returned.

       MT-Level: Safe if <list>	thread-safe.

RETURN VALUE
       None.

SEE ALSO
       skipDelete(3),	 skipFreeList(3),    skipRelease(3),	skipInsert(3),
       skipSearch(3), skipNext(3), skipNewList

ClearSilver			 12 July 2007			 skipInsert(3)

NAME | SYNOPSIS | ARGUMENTS | DESCRIPTION | RETURN VALUE | SEE ALSO

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

home | help