preparing to handle singals
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-09-27 21:06:12 +09:00
parent e337e9d48b
commit 4fe4ee649f
7 changed files with 1224 additions and 190 deletions

View File

@ -766,7 +766,7 @@ struct hcl_ntime_t
#define HCL_LBMASK(type,n) (~(~((type)0) << (n)))
#define HCL_LBMASK_SAFE(type,n) (((n) < HCL_BITSOF(type))? HCL_LBMASK(type,n): ~(type)0)
/* make a bit mask that can mask off hig n bits */
/* make a bit mask that can mask off high n bits */
#define HCL_HBMASK(type,n) (~(~((type)0) >> (n)))
#define HCL_HBMASK_SAFE(type,n) (((n) < HCL_BITSOF(type))? HCL_HBMASK(type,n): ~(type)0)