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

FreeBSD Manual Pages

  
 
  

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

NAME
       xt_dsv_line_copy() - Copy a generica tabular data object

LIBRARY
       #include	<xtend/dsv.h>
       -lbiolibc

SYNOPSIS
       int     xt_dsv_line_copy(xt_dsv_line_t *dest, xt_dsv_line_t *src)

ARGUMENTS
       src     Pointer to populated xt_dsv_line_t structure to be duplicated
       dest    Pointer to empty	xt_dsv_lint_t structure	to receive copy

DESCRIPTION
       Duplicate  an  arbitrary	 xt_dsv_line_t	object,	 allocating  space for
       fields and delimiters as	needed.	 The xt_dsv_line_t structure  contains
       an  array  of  strings, each holding one	field from the line, and an an
       array of	delimiters, each holding the character that ended  the	corre-
       sponding	field.	Note that each field could potentially end with	a dif-
       ferent delimiter, as multiple delimiters	can be specified.

RETURN VALUES
       XT_OK or	XT_MALLOC_FAILED

SEE ALSO
       xt_dsv_line_new(3),	xt_dsv_line_free(3),	  xt_dsv_line_read(3),
       xt_dsv_line_write(3),	xt_dsv_line_copy(3),	 xt_dsv_read_field(3),
       xt_dsv_read_field_malloc(3),			 xt_dsv_skip_field(3),
       xt_dsv_skip_rest_of_line(3)

							   xt_dsv_line_copy(3)

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

home | help