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
dsv_read_field_malloc(3) FreeBSD Library Functions Manual dsv_read_field_malloc(3)

#include <xtend/dsv.h>
-lbiolibc

int     dsv_read_field_malloc(FILE *stream, char **buff, size_t *buff_size,
const char *delims, size_t *len)

stream:     FILE stream from which field is read
buff:       Character buffer into which field is copied
buff_size:  Size of the array passed to buff
delims:     Array of characters that may serve as delimiters
len:        Pointer to a variable which will receive the field length

Read next delimiter-separated field from stream, allocating a buffer to fit in the fashion of strdup(3). The fields may be ended by any character in the string delims or by a newline ('\n').

If the delimiter ending a field is a space, then subsequence spaces are discarded, so that multiple space characters serve as a single delimiter.

Delimiter ending the field (either a member of delim or newline) or XT_MALLOC_FAILED.

dsv_read_field(3), dsv_skip_field(3), dsv_skip_rest_of_line(3), dsv_line_read(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.