ppd_file_new man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

ppd_file_new_from_filep(3)			    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. Other‐
       wise, 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)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net