devela::sys::os::linux

Module io

Source
Available on crate feature linux only.
Expand description

Linux-specific extensions to std::io.

Structs§

Functions§

  • linux_eprintunsafe_syscall
    Prints a string slice to standard error.
  • linux_eprintlnunsafe_syscall
    Prints a string slice to standard error, with a newline.
  • linux_get_byteunsafe_syscall
    Gets a single byte from stdin.
  • linux_get_charunsafe_syscall
    Gets a single char from stdin, or None if the bytes are not valid utf-8.
  • linux_get_dirty_charunsafe_syscall
    Gets either a single char from stdin, or the replacement character.
  • linux_get_lineunsafe_syscall
    Gets a string from stdin backed by a buffer, until a newline.
  • linux_get_strunsafe_syscall
    Gets a string from stdin backed by a buffer, until the stop char is received.
  • linux_get_utf8_bytesunsafe_syscall
    Gets a utf-8 encoded byte sequence from stdin representing a char.
  • Pauses execution until receiving from stdin any char in the list.
  • linux_printunsafe_syscall
    Prints a string slice to standard output.
  • linux_print_bytesunsafe_syscall
    Prints a byte slice to stdout.
  • linux_printlnunsafe_syscall
    Prints a string slice to standard output, with a newline.
  • linux_promptunsafe_syscall
    Prompts the user for a string from stdin, backed by a buffer.
  • linux_random_bytesunsafe_syscall
    Fills the given buffer with random bytes that may not be cryptographically secure.
  • linux_random_u8unsafe_syscall
    Generates a random u8 value that may not be criptographically secure.
  • linux_random_u16unsafe_syscall
    Generates a random u16 value that may not be criptographically secure.
  • linux_random_u32unsafe_syscall
    Generates a random u32 value that may not be criptographically secure.
  • linux_random_u64unsafe_syscall
    Generates a random u64 value that may not be criptographically secure.
  • linux_random_u128unsafe_syscall
    Generates a random u128 value that may not be criptographically secure.
  • linux_sys_getrandomunsafe_syscall
    Performs a getrandom syscall.
  • linux_sys_ioctlunsafe_syscall
    Performs an ioctl syscall.
  • linux_sys_readunsafe_syscall
    Performs a read syscall.
  • linux_sys_writeunsafe_syscall
    Performs a write syscall.