003 File Manager
Current Path:
/usr/src/contrib/xz/src/xz
usr
/
src
/
contrib
/
xz
/
src
/
xz
/
📁
..
📄
args.c
(17.51 KB)
📄
args.h
(1.11 KB)
📄
coder.c
(25.4 KB)
📄
coder.h
(2.07 KB)
📄
file_io.c
(35.48 KB)
📄
file_io.h
(5.4 KB)
📄
hardware.c
(5.05 KB)
📄
hardware.h
(1.45 KB)
📄
list.c
(33.21 KB)
📄
list.h
(575 B)
📄
main.c
(9.34 KB)
📄
main.h
(972 B)
📄
message.c
(35.76 KB)
📄
message.h
(5.4 KB)
📄
mytime.c
(1.9 KB)
📄
mytime.h
(1.39 KB)
📄
options.c
(7.53 KB)
📄
options.h
(977 B)
📄
private.h
(1.31 KB)
📄
signals.c
(4.83 KB)
📄
signals.h
(1.44 KB)
📄
suffix.c
(10.12 KB)
📄
suffix.h
(1.08 KB)
📄
util.c
(6.98 KB)
📄
util.h
(4.35 KB)
📄
xz.1
(63.49 KB)
Editing: signals.h
/////////////////////////////////////////////////////////////////////////////// // /// \file signals.h /// \brief Handling signals to abort operation // // Author: Lasse Collin // // This file has been put into the public domain. // You can do whatever you want with this file. // /////////////////////////////////////////////////////////////////////////////// /// If this is true, we will clean up the possibly incomplete output file, /// return to main() as soon as practical. That is, the code needs to poll /// this variable in various places. extern volatile sig_atomic_t user_abort; /// Initialize the signal handler, which will set user_abort to true when /// user e.g. presses C-c. extern void signals_init(void); #if (defined(_WIN32) && !defined(__CYGWIN__)) || defined(__VMS) # define signals_block() do { } while (0) # define signals_unblock() do { } while (0) #else /// Block the signals which don't have SA_RESTART and which would just set /// user_abort to true. This is handy when we don't want to handle EINTR /// and don't want SA_RESTART either. extern void signals_block(void); /// Unblock the signals blocked by signals_block(). extern void signals_unblock(void); #endif #if defined(_WIN32) && !defined(__CYGWIN__) # define signals_exit() do { } while (0) #else /// If user has sent us a signal earlier to terminate the process, /// re-raise that signal to actually terminate the process. extern void signals_exit(void); #endif
Upload File
Create Folder