mirror of
https://github.com/ziglang/zig.git
synced 2025-12-06 14:23:09 +00:00
We already have a LICENSE file that covers the Zig Standard Library. We no longer need to remind everyone that the license is MIT in every single file. Previously this was introduced to clarify the situation for a fork of Zig that made Zig's LICENSE file harder to find, and replaced it with their own license that required annual payments to their company. However that fork now appears to be dead. So there is no need to reinforce the copyright notice in every single file.
29 lines
588 B
Zig
29 lines
588 B
Zig
pub const iovec = extern struct {
|
|
iov_base: [*]u8,
|
|
iov_len: usize,
|
|
};
|
|
|
|
pub const iovec_const = extern struct {
|
|
iov_base: [*]const u8,
|
|
iov_len: usize,
|
|
};
|
|
|
|
// syslog
|
|
|
|
/// system is unusable
|
|
pub const LOG_EMERG = 0;
|
|
/// action must be taken immediately
|
|
pub const LOG_ALERT = 1;
|
|
/// critical conditions
|
|
pub const LOG_CRIT = 2;
|
|
/// error conditions
|
|
pub const LOG_ERR = 3;
|
|
/// warning conditions
|
|
pub const LOG_WARNING = 4;
|
|
/// normal but significant condition
|
|
pub const LOG_NOTICE = 5;
|
|
/// informational
|
|
pub const LOG_INFO = 6;
|
|
/// debug-level messages
|
|
pub const LOG_DEBUG = 7;
|