1 --- a/kernel/OS/Linux/wrapper/wrap.h 2019-03-06 07:52:39.000000000 -0000
2 +++ a/kernel/OS/Linux/wrapper/wrap.h 2019-05-25 16:20:11.370419336 -0000
5 typedef struct oss_file_operation_handle
7 - ssize_t (*read) (oss_file_handle_t *, char *, size_t, loff_t *);
8 - ssize_t (*write) (oss_file_handle_t *, char *, size_t, loff_t *);
9 + ssize_t (*read) (oss_file_handle_t *, char *, size_t, off_t *);
10 + ssize_t (*write) (oss_file_handle_t *, char *, size_t, off_t *);
11 int (*readdir) (oss_inode_handle_t *, oss_file_handle_t *, void *, int);
12 unsigned int (*poll) (oss_file_handle_t *, oss_poll_table_handle_t *);
13 int (*ioctl) (oss_inode_handle_t *, oss_file_handle_t *, unsigned int,
15 --- a/os_cmd/Linux/ossdetect/ossdetect.c 2019-05-25 16:21:50.660425432 -0000
16 +++ a/os_cmd/Linux/ossdetect/ossdetect.c 2019-05-25 16:26:44.717110150 -0000
18 * distribution for the license terms and conditions.
27 --- a/kernel/OS/Linux/os_linux.c 2019-03-06 07:52:39.000000000 -0000
28 +++ a/kernel/OS/Linux/os_linux.c 2019-05-25 16:30:29.623790639 -0000
32 oss_cdev_read (oss_file_handle_t * file, char *buf, size_t count,
36 oss_native_word d = (oss_native_word) oss_file_get_private (file);
41 oss_cdev_write (oss_file_handle_t * file, char *buf, size_t count,
45 oss_native_word d = (oss_native_word) oss_file_get_private (file);