unlinkd
Defines | |
| #define | UNLINK_BUF_LEN 1024 |
Functions | |
| int | main (int argc, char *argv[]) |
Detailed Description
- The unlink(2) system call can cause a process to block for a significant amount of time. Therefore we do not want to make unlink() calls from Squid. Instead we pass them to this external process.
Define Documentation
| #define UNLINK_BUF_LEN 1024 |
Definition at line 51 of file unlinkd_daemon.cc.
Referenced by main().
Function Documentation
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
- This is the unlinkd external process.
- unlinkd receives the full path of any files to be removed from stdin, each on its own line.
- The results for each file are printed to stdout in the order they were received
- Parameters:
-
argc Ignored. argv Ignored.
- Return values:
-
ERR An error occured removing the file. OK The file has been removed.
Definition at line 71 of file unlinkd_daemon.cc.
References _PATH_DEVNULL, NULL, UNLINK_BUF_LEN, and x.
Search
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Help Out
- Getting Squid
- Donate
- Squid Deployment Case-Studies
Documentation
- FAQ | Wiki | Book
- Configuration Reference
- Configuration Guide - Visolve
- Configuration Examples
- Users guide
- Non-English
- Security Advisories
- More...
Support
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
