Kea 2.7.6
isc::util::file::Umask Struct Reference

RAII device to limit access of created files. More...

#include <filesystem.h>

Public Member Functions

 Umask (mode_t mask)
 Constructor.
 
 ~Umask ()
 Destructor.
 

Detailed Description

RAII device to limit access of created files.

Definition at line 53 of file filesystem.h.

Constructor & Destructor Documentation

◆ Umask()

isc::util::file::Umask::Umask ( mode_t mask)

Constructor.

Set wanted bits in umask.

Definition at line 69 of file filesystem.cc.

◆ ~Umask()

isc::util::file::Umask::~Umask ( )

Destructor.

Restore umask.

Definition at line 73 of file filesystem.cc.


The documentation for this struct was generated from the following files: