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

◆ UNLINK_BUF_LEN

#define UNLINK_BUF_LEN   1024

Definition at line 32 of file unlinkd_daemon.cc.

Function Documentation

◆ main()

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 occurred 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