mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Covert Kernel File reader/writer. 3.0.52
This commit is contained in:
parent
d5661dcc4e
commit
1605000817
6 changed files with 78 additions and 16 deletions
|
@ -111,6 +111,7 @@ public:
|
|||
// For utest to mock it.
|
||||
typedef int (*_srs_open_t)(const char* path, int oflag, ...);
|
||||
typedef ssize_t (*_srs_write_t)(int fildes, const void* buf, size_t nbyte);
|
||||
typedef ssize_t (*_srs_read_t)(int fildes, void* buf, size_t nbyte);
|
||||
typedef off_t (*_srs_lseek_t)(int fildes, off_t offset, int whence);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue