1

fcntl64 test

Refs https://github.com/ziglang/zig/issues/9485
This commit is contained in:
Motiejus Jakštys 2022-02-05 16:28:20 +02:00
parent 0cc6ce2a5b
commit 8d110a392a

View File

@ -1,12 +1,15 @@
package main package main
// #define _FILE_OFFSET_BITS 64
// #include <unistd.h>
// #include <fcntl.h>
// #include <stdio.h> // #include <stdio.h>
// char* hello() { return "hello, world"; } // char* hello() { return "hello, world"; }
// void printhello() { printf("%s\n", hello()); } // void phello() { printf("%s, your lucky number is %p\n", hello(), fcntl); }
import "C" import "C"
func main() { func main() {
C.printhello() C.phello()
} }
func Chello() string { func Chello() string {