debian man page for ppd_file_new

Query: ppd_file_new

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

ppd_file_new_from_filep(3)				     Library Functions Manual					ppd_file_new_from_filep(3)

NAME
ppd_file_new_from_filep, ppd_file_new_from_fd, ppd_file_new - Parse a ppd file and load it into the ppd_file_t structure.
SYNOPSIS
#include <ppd.h> ppd_file_t *ppd_file_new_from_filep(FILE* fp");" ppd_file_t *ppd_file_new_from_fd(int fd");" ppd_file_t *ppd_file_new(const char * filename");"
DESCRIPTION
The ppd_file_new_from_filep function parses the specified PPD file.
RETURN VALUES
Upon successful completion ppd_file_new_from_filep, ppd_file_new_from_fd , ppd_file_new return a ppd_file_t pointer. Otherwise, NULL is returned and errno is set. ENODEV the FILE pointer passed into ppd_file_new_from_filep or the file descriptor passed into ppd_file_new_from_fd is NULL. EBADF the file doesn't appear to be a PPD file. ENOTTY no idea what these errors are. Probably PPD parse errors. Other errors can be returned in errno by a failure in fdopen or fopen.
SEE ALSO
ppd_file_free(3), ppd_emit_to_file(3) Linux Programmer's Manual 14 July 2000 ppd_file_new_from_filep(3)
Related Man Pages
ppdmerge(1) - mojave
foomatic-ppdload(8) - redhat
ppd_check_option_is_marked(3) - debian
ppd_find_choice(3) - debian
cups-genppdupdate(8) - debian
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
One instance of comparing grep and awk
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?