the constants and functions provided by this module will throw a runtime exception if the corresponding C macro is not available. Consult your system documentation to see the full description of each symbol and whether it is available on your platform: L<chmod(2)>, L<fcntl(2)>, L<flock(...
We use SI_SIGIO as the source, not SI_KERNEL, since kernel signals always get delivered even if we can't queue. Failure to queue in this case _should_ be reported; we fall back to SIGIO in that case. --sct */ clear_siginfo(&si); si.si_signo = signum; si.si_errno = 0; si...
The NuTCRACKER Platform also supports an advisory locking mode that uses the native Win32 locking APIs (LockFileEx()on 10/2016/2019/11/2022/2025). This mode can be set with the_NC_SET_NT_LIMITED_LOCKINGparameter to_NutConf(), or via theNUT_NT_LIMITED_LOCKINGenvironment variable. This mode...
platforms for an example of this. If any of the 64bit platforms ever decide to use more than 32bits in their unsigned long ioctl codes this will break and need special casing based on the platform being built on. */ int arg = 0; int ret; Py_buffer pstr; char *str; Py_ssize_...
This can be used only for unused fasync entries: * entries that actually got inserted on the fasync list * need to be released by rcu - see fasync_remove_entry. */ void fasync_free(struct fasync_struct *new) { kmem_cache_free(fasync_cache, new); } /* * Insert a new entry into ...