This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
---------------------------------------------- | |
TEMPLATE EXAMPLES: | |
---------------------------------------------- | |
---------------------------------------- | |
htmlpage_base2.ptpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//NOTE: we need to change this cast in: zig/lib/zig/std/os/linux/index.twig | |
//pub fn geteuid() u32 { | |
// return @intCast(u32,syscall0(SYS_geteuid)); | |
//} | |
// | |
//pub fn getegid() u32 { | |
// return @intCast(u32,syscall0(SYS_getegid)); | |
//} | |
//pub fn mount(special: [*]const u8, dir: [*]const u8, fstype: ?[*]const u8, flags: u32, data: usize) usize { | |
// return syscall5(SYS_mount, @ptrToInt(special), @ptrToInt(dir), @ptrToInt(fstype), flags, data); |