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

FreeBSD Manual Pages

  
 
  

home | help
xt_strlbasecpy(3)	    Library Functions Manual	       xt_strlbasecpy(3)

LIBRARY
     #include <xtend/string.h>
     -lxtend

SYNOPSIS
     char   *xt_strlbasecpy(char *dest, const char *dest_base, const char *src,
     size_t dstsize)

ARGUMENTS
     dest:	 Address to which src is copied
     dest_base:  Base address of the array containing dest address
     src:	 Address of null-terminated string to be copied
     dstsize:	 Size of the dest array

DESCRIPTION
     xt_strlbasecpy() is a convenience for copying a string to a non-zero start-
     ing  position  in	another  string.  The caller provides the address of the
     destination to which string should be copied, the base address of the array
     containing the destination, and the TOTAL length of the destination  array.
     xt_strlbasecpy() then computes the distance from the destination address to
     the end of the array and like strlcpy(), prevents overrun from occurring.

RETURN VALUES
     The original value of dest

SEE ALSO
     strlcpy(3)

							       xt_strlbasecpy(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=xt_strlbasecpy&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help