Query: libtmpfilefd
OS: suse
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Netpbm subroutine library: pm_tmpfile_fd() function(3) Library Functions Manual Netpbm subroutine library: pm_tmpfile_fd() function(3)NAMEpm_tmpfile_fd() - create a temporary unnamed fileSYNOPSIS#include <netpbm/pm.h> FILE * pm_tmpfile_fd(void);EXAMPLEThis simple example creates a temporary file, writes 'hello world' to it, then reads back and prints those contents. #include <netpbm/pm.h> int fd; fd = pm_tmpfile(); write(fd, 'hello world0, 17); lseek(fd, 0, SEEK_SET); read(fd, buffer, sizeof(buffer)); fprintf(STDOUT, 'temp file contains '%s'0, buffer); close(fd);DESCRIPTIONThis library function is part of Netpbm(1) pm_tmpfile_fd() is analogous to pm_tmpfile()(3) that it opens the file as a low level file, as open() would, rather than as a stream, as fopen() would. If you need to refer to the temporary file by name, use pm_make_tmpfile_fd() instead.HISTORYpm_tmpfile() was introduced in Netpbm 10.42 (March 2008). netpbm documentation 31 December 2007 Netpbm subroutine library: pm_tmpfile_fd() function(3)
Related Man Pages |
---|
libmaketmpfile(3) - centos |
libmaketmpfilefd(3) - centos |
libnetpbm(3) - centos |
libmaketmpfile(3) - suse |
libnetpbm(3) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Cut command on RHEL 6.8 compatibility issues |
Update kernel Linux without reboot?! |
SOCKS proxy & PAM configuration exposure |
A (ksh) Library For and From UNIX.com |