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

xt_ff_open() - Open a fast file stream for a raw or compressed file

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

xt_ff_t *xt_ff_open(const char *filename, int flags)

filename:   Name of the file to be opened
mode:       Bit mask as used by open(2)

xt_ff_open(3) opens a raw data file using _xt_ff_raw_open(3) or a gzipped, bzipped, or xzipped file using xt_ff_popen(3), returning a pointer to a xt_ff_t stream. Must be used in conjunction with xt_ff_close(3).

The xt_ff_t system is simpler than and much faster than traditional FILE on typical systems. It is intended for processing large files character-by-character, where low-level block I/O is not convenient, but FILE I/O causes a bottleneck.

A pointer to the FILE structure or NULL if open failed

fopen(3), popen(3), gzip(1), bzip2(1), xz(1)


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.