Use semicolons as field delimiters in records

This commit is contained in:
Ginger Bill
2017-07-10 13:49:50 +01:00
parent 81336b58cb
commit 66e4aaffc5
15 changed files with 460 additions and 343 deletions
+20 -20
View File
@@ -47,32 +47,32 @@ RTLD_FIRST :: 0x100;
args: [dynamic]string;
_FileTime :: struct #ordered {
seconds: i64,
nanoseconds: i64
seconds: i64;
nanoseconds: i64;
}
Stat :: struct #ordered {
device_id : i32, // ID of device containing file
mode : u16, // Mode of the file
nlink : u16, // Number of hard links
serial : u64, // File serial number
uid : u32, // User ID of the file's owner
gid : u32, // Group ID of the file's group
rdev : i32, // Device ID, if device
device_id: i32; // ID of device containing file
mode: u16; // Mode of the file
nlink: u16; // Number of hard links
serial: u64; // File serial number
uid: u32; // User ID of the file's owner
gid: u32; // Group ID of the file's group
rdev: i32; // Device ID, if device
last_access : FileTime, // Time of last access
modified : FileTime, // Time of last modification
status_change : FileTime, // Time of last status change
created : FileTime, // Time of creation
last_access: FileTime; // Time of last access
modified: FileTime; // Time of last modification
status_change: FileTime; // Time of last status change
created: FileTime; // Time of creation
size : i64, // Size of the file, in bytes
blocks : i64, // Number of blocks allocated for the file
block_size: i32, // Optimal blocksize for I/O
flags : u32, // User-defined flags for the file
gen_num : u32, // File generation number ...?
_spare : i32, // RESERVED
size: i64; // Size of the file, in bytes
blocks: i64; // Number of blocks allocated for the file
block_size: i32; // Optimal blocksize for I/O
flags: u32; // User-defined flags for the file
gen_num: u32; // File generation number ...?
_spare: i32; // RESERVED
_reserve1,
_reserve2 : i64, // RESERVED
_reserve2: i64; // RESERVED
};
// File type