added TIOCGWINSZ to darwin, linux and freebsd
This commit is contained in:
1 parent
d3b1aaad18
commit
0b5be6ad6a
3 files changed
+13
No files matched your search
@@ -233,6 +233,11 @@ _Proc_Bsdinfo :: struct {
|
||||
|
||||
/*--==========================================================================--*/
|
||||
|
||||
/* Get window size */
|
||||
TIOCGWINSZ :: 0x40087468
|
||||
|
||||
/*--==========================================================================--*/
|
||||
|
||||
syscall_fsync :: #force_inline proc "contextless" (fildes: c.int) -> bool {
|
||||
return !(cast(bool)intrinsics.syscall(unix_offset_syscall(.fsync), uintptr(fildes)))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user