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_call_once __P((__os_once_t *, void (*)(void)));
13int __os_calloc __P((size_t, size_t, void **));
14int __os_clock_mono __P((int64_t *));
15int __os_clock_real __P((int64_t *));
16int __os_cond_broadcast __P((__os_cond_t *));
17int __os_cond_destroy __P((__os_cond_t *));
18int __os_cond_init __P((__os_cond_t *));
19int __os_cond_signal __P((__os_cond_t *));
20int __os_cond_wait __P((__os_cond_t *, __os_mutex_t *));
21int __os_env_get __P((const char *, char *, size_t));
22int __os_env_set __P((const char *, const char *, int));
23int __os_malloc __P((size_t, void **));
24int __os_mutex_destroy __P((__os_mutex_t *));
25int __os_mutex_init __P((__os_mutex_t *));
26int __os_mutex_lock __P((__os_mutex_t *));
27int __os_mutex_trylock __P((__os_mutex_t *));
28int __os_mutex_unlock __P((__os_mutex_t *));
29int __os_ncpus __P((void));
30int __os_ncpus_effic __P((void));
31int __os_ncpus_perf __P((void));
32int __os_numa_current_node __P((void));
33int __os_numa_nnodes __P((void));
34int __os_numa_node_of_cpu __P((int));
35int __os_pthread_create_masked __P((pthread_t *, void *(*)(void *), void *));
36int __os_realloc __P((void *, size_t, void **));
37int __os_rwlock_destroy __P((__os_rwlock_t *));
38int __os_rwlock_init __P((__os_rwlock_t *));
39int __os_rwlock_rdlock __P((__os_rwlock_t *));
40int __os_rwlock_rdunlock __P((__os_rwlock_t *));
41int __os_rwlock_wrlock __P((__os_rwlock_t *));
42int __os_rwlock_wrunlock __P((__os_rwlock_t *));
43int __os_sem_destroy __P((__os_sem_t *));
44int __os_sem_init __P((__os_sem_t *, unsigned));
45int __os_sem_post __P((__os_sem_t *));
46int __os_sem_trywait __P((__os_sem_t *));
47int __os_sem_wait __P((__os_sem_t *));
48int __os_sleep_ns __P((int64_t));
49int __os_strdup __P((const char *, char **));
50int __os_thread_atexit __P((void (*)(void *), void *));
51int __os_thread_create __P((__os_thread_t *, __os_thread_fn, void *));
52int __os_thread_detach __P((__os_thread_t *));
53int __os_thread_join __P((__os_thread_t *, void **));
54int __os_thread_self __P((__os_thread_t *));
55int __os_thread_set_affinity __P((int));
56int __os_thread_setname __P((const char *));
57int __os_tls_create __P((__os_tls_key_t *, __os_tls_dtor));
58int __os_tls_destroy __P((__os_tls_key_t));
59int __os_tls_set __P((__os_tls_key_t, void *));
60int __xtc_dio_is_direct __P((int));
61int xtc_fs_close __P((int));
62int xtc_fs_dio_align __P((int, size_t *, size_t *, size_t *));
63int xtc_fs_dio_alloc __P((int, size_t, void **));
64int xtc_fs_dir_next __P((xtc_fs_dir_t *, const char **));
65int xtc_fs_dir_open __P((const char *, xtc_fs_dir_t **));
66int xtc_fs_exists __P((const char *));
67int xtc_fs_fdatasync __P((int));
68int xtc_fs_fsize __P((int, int64_t *));
69int xtc_fs_fsync __P((int));
70int xtc_fs_ftruncate __P((int, int64_t));
71int xtc_fs_mkdir __P((const char *));
72int xtc_fs_mkstemp __P((char *, int *));
73int xtc_fs_open __P((const char *, uint32_t, int *));
74int xtc_fs_pread __P((int, void *, size_t, int64_t, size_t *));
75int xtc_fs_pwrite __P((int, const void *, size_t, int64_t, size_t *));
76int xtc_fs_rename __P((const char *, const char *));
77int xtc_fs_rmdir __P((const char *));
78int xtc_fs_stat __P((const char *, xtc_fs_stat_t *));
79int xtc_fs_tmpdir __P((char *, size_t));
80int xtc_fs_unlink __P((const char *));
81size_t __os_msize __P((void *));
82size_t __os_strlcat __P((char *, const char *, size_t));
83size_t __os_strlcpy __P((char *, const char *, size_t));
84uint64_t __os_rand_u64 __P((void));
85void *__os_tls_get __P((__os_tls_key_t));
86void __os_aligned_free __P((void *));
87void __os_backtrace_emit __P((int, void *const *, int));
88void __os_free __P((void *));
89void __os_rand_seed __P((uint64_t));
90void __os_thread_apply_default_qos __P((void));
91void __os_thread_yield __P((void));
92void xtc_fs_dio_free __P((void *));
93void xtc_fs_dir_close __P((xtc_fs_dir_t *));
94
95#endif /* OS_EXT_H */