looklook 0.9.0

Descriptive signal synthesiser.
// Copyright 2026 Gabriel Bjørnager Jensen.
//
// This file is part of LOOKLOOK.
//
// LOOKLOOK is free software: you can redistribute it and/or modify it under the
// terms of the GNU Affero General Public License as published by the Free Software
// Foundation, either version 3 of the License, or (at your option) any later ver-
// sion.
//
// LOOKLOOK is distributed in the hope that it will be useful, but WITHOUT ANY WAR-
// RANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
// PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License along
// with LOOKLOOK. If not, see <https://www.gnu.org/licenses/>.

//! Foreign function interfaces for the emulator.

#![allow(missing_docs)]

pub const EXIT_SIGNAL: i32 = 256;

pub const O_CREAT: i32 = 1;

pub const O_TRUNC: i32 = 2;

pub const O_APPEND: i32 = 4;

pub const O_EXEC: i32 = 8;

pub const O_RDONLY: i32 = 16;

pub const O_RDRW: i32 = 32;

pub const O_WRONLY: i32 = 64;

pub const EDOM: i32 = 1;

pub const ERANGE: i32 = 2;

pub const EILSEQ: i32 = 3;

pub const E2BIG: i32 = 4;

pub const EACCES: i32 = 5;

pub const EADDRINUSE: i32 = 6;

pub const EADDRNOTAVAIL: i32 = 7;

pub const EAFNOSUPPORT: i32 = 8;

pub const EAGAIN: i32 = 9;

pub const EALREADY: i32 = 10;

pub const EBADF: i32 = 11;

pub const EBADMSG: i32 = 12;

pub const EBUSY: i32 = 13;

pub const ECANCELED: i32 = 14;

pub const ECHILD: i32 = 15;

pub const ECONNABORTED: i32 = 16;

pub const ECONNREFUSED: i32 = 17;

pub const ECONNRESET: i32 = 18;

pub const EDEADLK: i32 = 19;

pub const EDESTADDRREQ: i32 = 20;

pub const EEXIST: i32 = 21;

pub const EFAULT: i32 = 22;

pub const EFBIG: i32 = 23;

pub const EHOSTUNREACH: i32 = 24;

pub const EIDRM: i32 = 25;

pub const EINPROGRESS: i32 = 26;

pub const EINTR: i32 = 27;

pub const EINVAL: i32 = 28;

pub const EIO: i32 = 29;

pub const EISCONN: i32 = 30;

pub const EISDIR: i32 = 31;

pub const ELOOP: i32 = 32;

pub const EMFILE: i32 = 33;

pub const EMLINK: i32 = 34;

pub const EMSGSIZE: i32 = 35;

pub const ENAMETOOLONG: i32 = 36;

pub const ENETDOWN: i32 = 37;

pub const ENETRESET: i32 = 38;

pub const ENETUNREACH: i32 = 39;

pub const ENFILE: i32 = 40;

pub const ENOBUFS: i32 = 41;

pub const ENODATA: i32 = 42;

pub const ENODEV: i32 = 43;

pub const ENOENT: i32 = 44;

pub const ENOEXEC: i32 = 45;

pub const ENOLCK: i32 = 46;

pub const ENOLINK: i32 = 47;

pub const ENOMEM: i32 = 48;

pub const ENOMSG: i32 = 49;

pub const ENOPROTOOPT: i32 = 50;

pub const ENOSPC: i32 = 51;

pub const ENOSR: i32 = 52;

pub const ENOSTR: i32 = 53;

pub const ENOSYS: i32 = 54;

pub const ENOTCONN: i32 = 55;

pub const ENOTDIR: i32 = 56;

pub const ENOTEMPTY: i32 = 57;

pub const ENOTRECOVERABLE: i32 = 58;

pub const ENOTSOCK: i32 = 59;

pub const ENOTSUP: i32 = 60;

pub const ENOTTY: i32 = 61;

pub const ENXIO: i32 = 62;

pub const EOPNOTSUPP: i32 = 63;

pub const EOVERFLOW: i32 = 64;

pub const EOWNERDEAD: i32 = 65;

pub const EPERM: i32 = 66;

pub const EPIPE: i32 = 67;

pub const EPROTO: i32 = 68;

pub const EPROTONOSUPPORT: i32 = 69;

pub const EPROTOTYPE: i32 = 70;

pub const EROFS: i32 = 71;

pub const ESPIPE: i32 = 72;

pub const ESRCH: i32 = 73;

pub const ETIME: i32 = 74;

pub const ETIMEDOUT: i32 = 75;

pub const ETXTBSY: i32 = 76;

pub const EWOULDBLOCK: i32 = 77;

pub const EXDEV: i32 = 78;

pub const SIGABRT: i32 = 0;

pub const SIGFPE: i32 = 1;

pub const SIGILL: i32 = 2;

pub const SIGINT: i32 = 3;

pub const SIGSEGV: i32 = 4;

pub const SIGTERM: i32 = 5;