pub const ENOSYS: Error;
Expand description

Invalid system call number.

This error code is special: arch syscall entry code will return ENOSYS if users try to call a syscall that doesn’t exist. To keep failures of syscalls that really do exist distinguishable from failures due to attempts to use a nonexistent syscall, syscall implementations should refrain from returning ENOSYS.

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.