- Timestamp:
- Jul 16, 2020, 4:17:36 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- cf48a14
- Parents:
- c82af9f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/concurrency/iocall.cfa
rc82af9f r5db836e 347 347 int cfa_statx(int dirfd, const char *pathname, int flags, unsigned int mask, struct statx *statxbuf) { 348 348 #if !defined(HAVE_LINUX_IO_URING_H) || !defined(IORING_OP_STATX) 349 return syscall( __NR_statx, dirfd, pathname, flags, mask, statxbuf ); 349 #if defined(__NR_statx) 350 return syscall( __NR_statx, dirfd, pathname, flags, mask, statxbuf ); 351 #else 352 errno = ENOTSUP; 353 return -1; 354 #endif 350 355 #else 351 356 __submit_prelude … … 512 517 513 518 if( /*func == (fptr_t)splice || */ 514 func == (fptr_t)cfa_splice || 515 func == (fptr_t)cfa_sendfile ) 519 func == (fptr_t)cfa_splice ) 516 520 #define _CFA_IO_FEATURE_IORING_OP_SPLICE , 517 521 return IS_DEFINED(IORING_OP_SPLICE);
Note: See TracChangeset
for help on using the changeset viewer.