Extended data formatting using Sfio

  • Authors:
  • Glenn S. Fowler;David G. Korn;Kiem-Phong Vo

  • Affiliations:
  • AT&T Laboratories-Research, Florham, NJ;AT&T Laboratories-Research, Florham, NJ;AT&T Laboratories-Research, Florham, NJ

  • Venue:
  • ATEC '00 Proceedings of the annual conference on USENIX Annual Technical Conference
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

The ANSI-C Standard defines Stdio as the I/O library for C programs. Despite its ubiquitous use, Stdio has well-documented deficiencies in various areas including data formatting. The Sfio library provides an alternative to Stdio with improved functionality, robustness and performance. In particular, Sfio extends the data formatting functions so that applications can deal with arbitrary scalar objects, avoid unsafe operations and even define their own conversion patterns. This paper discusses these formatting enhancements