Macros | |
#define | UNLINK_BUF_LEN 1024 |
Functions | |
int | main (int, char *[]) |
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.
Macro Definition Documentation
◆ UNLINK_BUF_LEN
#define UNLINK_BUF_LEN 1024 |
Definition at line 32 of file unlinkd_daemon.cc.
Function Documentation
◆ main()
- 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 occurred removing the file. OK The file has been removed.
Definition at line 52 of file unlinkd_daemon.cc.