diff --git a/extra/unix/ffi/ffi.factor b/extra/unix/ffi/ffi.factor index 11a8405b1d..ec3daab880 100644 --- a/extra/unix/ffi/ffi.factor +++ b/extra/unix/ffi/ffi.factor @@ -3,4 +3,10 @@ USING: alien.syntax ; IN: unix.ffi -FUNCTION: int open ( char* path, int flags, int prot ) ; \ No newline at end of file +FUNCTION: int open ( char* path, int flags, int prot ) ; + +C-STRUCT: utimbuf + { "time_t" "actime" } + { "time_t" "modtime" } ; + +FUNCTION: int utime ( char* path, utimebuf* buf ) ; \ No newline at end of file