./devel/sfio, Safe and Fast IO library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2012Q2, Version: 1999, Package name: sfio-1999, Maintainer: pkgsrc-users

Sfio is a portable library for managing I/O streams. It provides
similar functionality to the ANSI C Standard I/O functions known
collectively as Stdio. However, it has a distinct interface and is
generally faster and more robust than most Stdio implementations.
(For backward compatibility, Sfio provides two Stdio emulation packages.)
Sfio also introduces a number of new features and concepts beyond
Stdio stream I/O processing:

+ Automatic locking to avoid concurrent stream accesses,
+ I/O disciplines to pre/post-process read/write data from/to streams,
+ Stream stacking for recursive processing of nested streams,
+ Stream pooling for automatic stream synchronization when I/O
operations are performed on different streams,
+ Buffer reservation for safe access to the internal buffers of streams,
+ Robust handling of variable-sized records, and
+ Extensible printf/scanf-like formatting I/O operations.

The current distribution of Sfio is Sfio1998. The library handles 64-bit
streams on platforms that support 64-bit files. The formatting family of
functions (e.g., sfprintf() and sfscanf()) have been extended so that
applications can redefine the meanings of predefined patterns as well as
define new patterns.


Master sites: (Expand)

SHA1: 6fd3a711ca8f95190c0859934f57a66d02c842a4
RMD160: 379148273c9979f7a5a921a338465b7579a6ac5e
Filesize: 632 KB

Version history: (Expand)