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

xt_ff_puts() - Print a string to a fast file stream

#include <xtend/fast-file.h>
-lxtend

int     xt_ff_puts(xt_ff_t *stream, const char *string)

string      A null-terminated string
stream      Pointer to an xt_ff_t structure opened with xt_ff_open(3)

xt_ff_puts(3) writes a null-terminated string to the given xt_ff_t stream. It is fnuctionally equivalent to fputs(3) with FILE.

A non-negative integer on success, EOF on failure

xt_ff_t *outstream;
char    *buff;
if ( (outstream = xt_ff_open(outfilename, O_WRONLY|O_CREAT|O_TRUNC)) == NULL )
{

fprintf(stderr, "Cannot open %s for writing: %s.n",
outfilename, strerror(errno));
exit(EX_NOINPUT); } xt_ff_puts("Hello, world!n", outstream); xt_ff_close(outstream);

fputs(3), xt_ff_gets(3), xt_ff_open(3), xt_ff_close(3), xt_ff_putc(3), xt_ff_printf(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.