* define compat_flock, compat_timespec, compat_stat, compat_attr_info, compat_fs_info, compat_fd_info to be used for respective 32-bit types of syscalls in compatibility mode. * handle 32-bit types in common_fcntl(), _user_read_stat(), _user_stat_attr(), _user_read_index_stat, _user_read_fs_info, _user_write_fs_info, _user_get_next_fd_info, other syscalls are compatible as is. Change-Id: I5b372169fe142f67b81fd6c27e0627d5119ba687
20 lines
328 B
C
20 lines
328 B
C
/*
|
|
* Copyright 2018, Haiku Inc. All rights reserved.
|
|
*
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _KERNEL_COMPAT_TIME_H
|
|
#define _KERNEL_COMPAT_TIME_H
|
|
|
|
|
|
#include <time.h>
|
|
|
|
|
|
struct compat_timespec {
|
|
uint32 tv_sec; /* seconds */
|
|
uint32 tv_nsec; /* and nanoseconds */
|
|
};
|
|
|
|
|
|
#endif // _KERNEL_COMPAT_TIME_H
|