GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  PPD_FILE_NEW (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.

CONTENTS

Synopsis
Description

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)

Search for    or go to Top of page |  Section 3 |  Main Index


Linux Programmer's Manual PPD_FILE_NEW_FROM_FILEP (3) 14 July 2000

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.