Searched refs:pfh (Results 1 - 6 of 6) sorted by relevance

/haiku-fatelf/src/libs/util/
H A Dpidfile.c43 static int _pidfile_remove(struct pidfh *pfh, int freeit);
46 pidfile_verify(struct pidfh *pfh) argument
50 if (pfh == NULL || pfh->pf_fd == -1)
55 if (fstat(pfh->pf_fd, &sb) == -1)
57 if (sb.st_dev != pfh->pf_dev || sb.st_ino != pfh->pf_ino)
89 struct pidfh *pfh; local
93 pfh = malloc(sizeof(*pfh));
162 pidfile_write(struct pidfh *pfh) argument
202 pidfile_close(struct pidfh *pfh) argument
223 _pidfile_remove(struct pidfh *pfh, int freeit) argument
255 pidfile_remove(struct pidfh *pfh) argument
[all...]
/haiku-fatelf/src/add-ons/print/drivers/pdf/source/
H A DPrinterDriver.cpp96 print_file_header pfh; local
120 fJobFile->Read(&pfh, sizeof(pfh));
139 StatusWindow* statusWindow = new StatusWindow(passes, pfh.page_count, this);
147 for (page = 1; page <= pfh.page_count && status == B_OK && fPrinting; page++) {
149 status = PrintPage(page, pfh.page_count);
153 fJobFile->Seek(sizeof(pfh), SEEK_SET);
/haiku-fatelf/src/add-ons/print/drivers/preview/
H A DPrinterDriver.cpp60 print_file_header pfh; local
64 fJobFile->Read(&pfh, sizeof(pfh));
80 for (int32 page = 1; page <= pfh.page_count; ++page) {
82 page, pfh.page_count);
/haiku-fatelf/headers/compatibility/bsd/
H A Dlibutil.h122 int pidfile_write(struct pidfh *pfh);
123 int pidfile_close(struct pidfh *pfh);
124 int pidfile_remove(struct pidfh *pfh);
/haiku-fatelf/src/libs/print/libprint/
H A DGraphicsDriver.cpp94 print_file_header pfh; local
96 BPrintJob::print_file_header pfh; local
99 spoolFile->Read(&pfh, sizeof(pfh));
101 DBGMSG(("print_file_header::version = 0x%x\n", pfh.version));
102 DBGMSG(("print_file_header::page_count = %d\n", pfh.page_count));
103 DBGMSG(("print_file_header::first_page = 0x%x\n", (int)pfh.first_page));
105 if (pfh.page_count <= 0) {
110 fPageCount = (uint32) pfh.page_count;
/haiku-fatelf/src/bin/network/ftpd/
H A Dftpd.c443 struct pidfh *pfh; local
445 if ((pfh = pidfile_open(pid_file, 0600, &pid)) == NULL) {
462 if (pfh != NULL && pidfile_write(pfh) == -1)
524 if (pfh != NULL)
525 pidfile_close(pfh);

Completed in 125 milliseconds