Improved type system
This commit is contained in:
@ -1,23 +1,23 @@
|
||||
getcwd(buffer Pointer, length Int) -> Int {
|
||||
getcwd(buffer *Any, length Int) -> Int {
|
||||
return syscall(79, buffer, length)
|
||||
}
|
||||
|
||||
chdir(path Pointer) -> Int {
|
||||
chdir(path *Any) -> Int {
|
||||
return syscall(80, path)
|
||||
}
|
||||
|
||||
rename(old Pointer, new Pointer) -> Int {
|
||||
rename(old *Any, new *Any) -> Int {
|
||||
return syscall(82, old, new)
|
||||
}
|
||||
|
||||
mkdir(path Pointer, mode Int) -> Int {
|
||||
mkdir(path *Any, mode Int) -> Int {
|
||||
return syscall(83, path, mode)
|
||||
}
|
||||
|
||||
rmdir(path Pointer) -> Int {
|
||||
rmdir(path *Any) -> Int {
|
||||
return syscall(84, path)
|
||||
}
|
||||
|
||||
unlink(file Pointer) -> Int {
|
||||
unlink(file *Any) -> Int {
|
||||
return syscall(87, file)
|
||||
}
|
Reference in New Issue
Block a user