libxtc 0.4.0
Async concurrency for C: Tokio + Seastar + BEAM, in one library
Loading...
Searching...
No Matches
os_ext.h
1/* DO NOT EDIT: automatically built by dist/s_include. */
2/* See M0_CLAIMS.md [T2]. */
3
4#ifndef OS_EXT_H
5#define OS_EXT_H
6
7int __os_aligned_alloc __P((size_t, size_t, void **));
8int __os_alloc_get_hook __P((struct __os_alloc_hook *));
9int __os_alloc_set_hook __P((const struct __os_alloc_hook *));
10int __os_backtrace __P((void **, int));
11int __os_backtrace_supported __P((void));
12int __os_calloc __P((size_t, size_t, void **));
13int __os_clock_mono __P((int64_t *));
14int __os_clock_real __P((int64_t *));
15int __os_cond_broadcast __P((__os_cond_t *));
16int __os_cond_destroy __P((__os_cond_t *));
17int __os_cond_init __P((__os_cond_t *));
18int __os_cond_signal __P((__os_cond_t *));
19int __os_cond_wait __P((__os_cond_t *, __os_mutex_t *));
20int __os_malloc __P((size_t, void **));
21int __os_mutex_destroy __P((__os_mutex_t *));
22int __os_mutex_init __P((__os_mutex_t *));
23int __os_mutex_lock __P((__os_mutex_t *));
24int __os_mutex_trylock __P((__os_mutex_t *));
25int __os_mutex_unlock __P((__os_mutex_t *));
26int __os_ncpus __P((void));
27int __os_ncpus_effic __P((void));
28int __os_ncpus_perf __P((void));
29int __os_numa_current_node __P((void));
30int __os_numa_nnodes __P((void));
31int __os_numa_node_of_cpu __P((int));
32int __os_pthread_create_masked __P((pthread_t *, void *(*)(void *), void *));
33int __os_realloc __P((void *, size_t, void **));
34int __os_rwlock_destroy __P((__os_rwlock_t *));
35int __os_rwlock_init __P((__os_rwlock_t *));
36int __os_rwlock_rdlock __P((__os_rwlock_t *));
37int __os_rwlock_unlock __P((__os_rwlock_t *));
38int __os_rwlock_wrlock __P((__os_rwlock_t *));
39int __os_sem_destroy __P((__os_sem_t *));
40int __os_sem_init __P((__os_sem_t *, unsigned));
41int __os_sem_post __P((__os_sem_t *));
42int __os_sem_trywait __P((__os_sem_t *));
43int __os_sem_wait __P((__os_sem_t *));
44int __os_sleep_ns __P((int64_t));
45int __os_strdup __P((const char *, char **));
46int __os_thread_create __P((__os_thread_t *, __os_thread_fn, void *));
47int __os_thread_detach __P((__os_thread_t *));
48int __os_thread_join __P((__os_thread_t *, void **));
49int __os_thread_self __P((__os_thread_t *));
50int __os_thread_set_affinity __P((int));
51int __os_thread_setname __P((const char *));
52int __os_tls_create __P((__os_tls_key_t *, __os_tls_dtor));
53int __os_tls_destroy __P((__os_tls_key_t));
54int __os_tls_set __P((__os_tls_key_t, void *));
55int __xtc_dio_is_direct __P((int));
56int xtc_fs_close __P((int));
57int xtc_fs_dio_align __P((int, size_t *, size_t *, size_t *));
58int xtc_fs_dio_alloc __P((int, size_t, void **));
59int xtc_fs_dir_next __P((xtc_fs_dir_t *, const char **));
60int xtc_fs_dir_open __P((const char *, xtc_fs_dir_t **));
61int xtc_fs_exists __P((const char *));
62int xtc_fs_fdatasync __P((int));
63int xtc_fs_fsize __P((int, int64_t *));
64int xtc_fs_fsync __P((int));
65int xtc_fs_ftruncate __P((int, int64_t));
66int xtc_fs_mkdir __P((const char *));
67int xtc_fs_mkstemp __P((char *, int *));
68int xtc_fs_open __P((const char *, uint32_t, int *));
69int xtc_fs_pread __P((int, void *, size_t, int64_t, size_t *));
70int xtc_fs_pwrite __P((int, const void *, size_t, int64_t, size_t *));
71int xtc_fs_rename __P((const char *, const char *));
72int xtc_fs_rmdir __P((const char *));
73int xtc_fs_stat __P((const char *, xtc_fs_stat_t *));
74int xtc_fs_tmpdir __P((char *, size_t));
75int xtc_fs_unlink __P((const char *));
76size_t __os_msize __P((void *));
77void *__os_tls_get __P((__os_tls_key_t));
78void __os_aligned_free __P((void *));
79void __os_backtrace_emit __P((int, void *const *, int));
80void __os_free __P((void *));
81void __os_thread_apply_default_qos __P((void));
82void __os_thread_yield __P((void));
83void xtc_fs_dio_free __P((void *));
84void xtc_fs_dir_close __P((xtc_fs_dir_t *));
85
86#endif /* OS_EXT_H */