GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
xt_dsv_line_new(3) FreeBSD Library Functions Manual xt_dsv_line_new(3)

xt_dsv_line_new() - Create a new generic tabular data object

#include <xtend/dsv.h>
-lxtend

xt_dsv_line_t  *xt_dsv_line_new(void)

None

Allocate and initialize a xt_dsv_line_t structure. 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 corresponding field. Note that each field could potentially end with a different delimiter, as multiple delimiters can be specified.

Pointer to a xt_dsv_lint_t object, or NULL if malloc() failed.

xt_dsv_line_t  *line = xt_dsv_line_new();
while ( xt_dsv_line_read(line, stdin, "t") != EOF )
{

xt_dsv_line_write(line, stdout);
xt_dsv_line_free(line); }

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)


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.