unlinkd

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

#define UNLINK_BUF_LEN   1024

Definition at line 32 of file unlinkd_daemon.cc.

Function Documentation

int main ( int  ,
char *  [] 
)
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
argcIgnored.
argvIgnored.
Return values
ERRAn error occured removing the file.
OKThe file has been removed.

Definition at line 52 of file unlinkd_daemon.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors