Changeset a5040fe for libcfa/src
- Timestamp:
- Mar 4, 2021, 12:08:57 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 8e4aa05
- Parents:
- e0b8d66d
- Location:
- libcfa/src/concurrency
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/io/call.cfa.in
re0b8d66d ra5040fe 132 132 extern int epoll_ctl(int epfd, int op, int fd, struct epoll_event *event); 133 133 134 extern ssize_t splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags);134 extern ssize_t splice(int fd_in, __off64_t *off_in, int fd_out, __off64_t *off_out, size_t len, unsigned int flags); 135 135 extern ssize_t tee(int fd_in, int fd_out, size_t len, unsigned int flags); 136 136 } … … 366 366 }), 367 367 # CFA_HAVE_IORING_OP_SPLICE 368 Call('SPLICE', 'ssize_t splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags)', {368 Call('SPLICE', 'ssize_t splice(int fd_in, __off64_t *off_in, int fd_out, __off64_t *off_out, size_t len, unsigned int flags)', { 369 369 'splice_fd_in': 'fd_in', 370 370 'splice_off_in': 'off_in ? (__u64)*off_in : (__u64)-1', -
libcfa/src/concurrency/iofwd.hfa
re0b8d66d ra5040fe 91 91 extern ssize_t cfa_read(int fd, void * buf, size_t count, __u64 submit_flags); 92 92 extern ssize_t cfa_write(int fd, void * buf, size_t count, __u64 submit_flags); 93 extern ssize_t cfa_splice(int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags, __u64 submit_flags);93 extern ssize_t cfa_splice(int fd_in, __off64_t *off_in, int fd_out, __off64_t *off_out, size_t len, unsigned int flags, __u64 submit_flags); 94 94 extern ssize_t cfa_tee(int fd_in, int fd_out, size_t len, unsigned int flags, __u64 submit_flags); 95 95 … … 124 124 void async_read(io_future_t & future, int fd, void * buf, size_t count, __u64 submit_flags); 125 125 extern void async_write(io_future_t & future, int fd, void * buf, size_t count, __u64 submit_flags); 126 extern void async_splice(io_future_t & future, int fd_in, loff_t *off_in, int fd_out, loff_t *off_out, size_t len, unsigned int flags, __u64 submit_flags);126 extern void async_splice(io_future_t & future, int fd_in, __off64_t *off_in, int fd_out, __off64_t *off_out, size_t len, unsigned int flags, __u64 submit_flags); 127 127 extern void async_tee(io_future_t & future, int fd_in, int fd_out, size_t len, unsigned int flags, __u64 submit_flags); 128 128
Note: See TracChangeset
for help on using the changeset viewer.