Astra Linux Directory Client Core API  1.7.0
ALDOfl.h
См. документацию.
1 
5 /*
6  * ALD Ofl
7  *
8  * Show processes using directories/files/mountpoints
9  *
10  * (While it says mountpoint in the source, any directory is acceptable,
11  * as are files.)
12  *
13  * written by Jan Engelhardt, 2008
14  * Released in the Public Domain.
15  * (Imported from the hxtools program suite.)
16  */
17 
18 #ifndef ALD_OFL
19 #define ALD_OFL
20 
21 #include "common.h"
22 
23 namespace ALD
24 {
25 
32 bool ofl(const string& mnt, unsigned int signum, ald_string_map& occupants);
33 
42 void KillOccupants(const string& mnt, bool hup, bool term, bool kill, unsigned int wait, bool quiet);
43 
44 } // ALD
45 
46 #endif //ALD_OFL
Пространство имен основного интерфейса Astra Linux Directory.
Definition: action-definitions.h:9
bool ofl(const string &mnt, unsigned int signum, ald_string_map &occupants)
Поиск и посылка сигналов процессам, использующих указанную точку монтирования
map< string, string > ald_string_map
MAP строка => строка
Definition: ALDUtils.h:164
void KillOccupants(const string &mnt, bool hup, bool term, bool kill, unsigned int wait, bool quiet)
Поиск и заврешение процессов, использующих указанную точку монтирования
Основной заголовочный файл, содержащий необходимый минимум предварительных объявлений и включений дру...