Changeset e28175d in mainline for uspace/lib/c/include
- Timestamp:
- 2020-03-15T10:44:02Z (6 years ago)
- Parents:
- b401b33 (diff), 44dde42 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- heiducteam <tristanided@…> (2020-03-15 10:44:02)
- git-committer:
- GitHub <noreply@…> (2020-03-15 10:44:02)
- Location:
- uspace/lib/c/include
- Files:
-
- 7 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/async.h
rb401b33 re28175d 275 275 276 276 extern async_sess_t *async_connect_me_to(async_exch_t *, iface_t, sysarg_t, 277 sysarg_t );277 sysarg_t, errno_t *); 278 278 extern async_sess_t *async_connect_me_to_blocking(async_exch_t *, iface_t, 279 sysarg_t, sysarg_t );280 extern async_sess_t *async_connect_kbox(task_id_t );279 sysarg_t, sysarg_t, errno_t *); 280 extern async_sess_t *async_connect_kbox(task_id_t, errno_t *); 281 281 282 282 extern errno_t async_connect_to_me(async_exch_t *, iface_t, sysarg_t, sysarg_t); -
uspace/lib/c/include/capa.h
rb401b33 re28175d 34 34 */ 35 35 36 #ifndef _LIBC_CAP _H_37 #define _LIBC_CAP _H_36 #ifndef _LIBC_CAPA_H_ 37 #define _LIBC_CAPA_H_ 38 38 39 39 #include <adt/list.h> … … 55 55 cu_zbyte, 56 56 cu_ybyte 57 } cap _unit_t;57 } capa_unit_t; 58 58 59 59 /** Which of values within the precision of the capacity */ … … 65 65 /** The maximum value */ 66 66 cv_max 67 } cap _vsel_t;67 } capa_vsel_t; 68 68 69 69 #define CU_LIMIT (cu_ybyte + 1) … … 87 87 unsigned dp; 88 88 /** Capacity unit */ 89 cap _unit_t cunit;90 } cap _spec_t;89 capa_unit_t cunit; 90 } capa_spec_t; 91 91 92 extern errno_t cap _format(cap_spec_t *, char **);93 extern errno_t cap _parse(const char *, cap_spec_t *);94 extern void cap _simplify(cap_spec_t *);95 extern void cap _from_blocks(uint64_t, size_t, cap_spec_t *);96 extern errno_t cap _to_blocks(cap_spec_t *, cap_vsel_t, size_t, uint64_t *);92 extern errno_t capa_format(capa_spec_t *, char **); 93 extern errno_t capa_parse(const char *, capa_spec_t *); 94 extern void capa_simplify(capa_spec_t *); 95 extern void capa_from_blocks(uint64_t, size_t, capa_spec_t *); 96 extern errno_t capa_to_blocks(capa_spec_t *, capa_vsel_t, size_t, uint64_t *); 97 97 98 98 #endif -
uspace/lib/c/include/loader/loader.h
rb401b33 re28175d 44 44 45 45 extern errno_t loader_spawn(const char *); 46 extern loader_t *loader_connect( void);46 extern loader_t *loader_connect(errno_t *); 47 47 extern errno_t loader_get_task_id(loader_t *, task_id_t *); 48 48 extern errno_t loader_set_cwd(loader_t *); … … 53 53 extern errno_t loader_load_program(loader_t *); 54 54 extern errno_t loader_run(loader_t *); 55 extern void loader_run_nowait(loader_t *); 55 56 extern void loader_abort(loader_t *); 56 57 -
uspace/lib/c/include/ns.h
rb401b33 re28175d 43 43 void *); 44 44 extern errno_t service_register_broker(service_t, async_port_handler_t, void *); 45 extern async_sess_t *service_connect(service_t, iface_t, sysarg_t); 46 extern async_sess_t *service_connect_blocking(service_t, iface_t, sysarg_t); 45 extern async_sess_t *service_connect(service_t, iface_t, sysarg_t, errno_t *); 46 extern async_sess_t *service_connect_blocking(service_t, iface_t, sysarg_t, 47 errno_t *); 47 48 48 49 extern errno_t ns_ping(void); 49 50 extern errno_t ns_intro(task_id_t); 50 extern async_sess_t *ns_session_get( void);51 extern async_sess_t *ns_session_get(errno_t *); 51 52 52 53 #endif -
uspace/lib/c/include/rtld/rtld_arch.h
rb401b33 re28175d 43 43 void rel_table_process(module_t *m, elf_rel_t *rt, size_t rt_size); 44 44 void rela_table_process(module_t *m, elf_rela_t *rt, size_t rt_size); 45 void *func_get_addr(elf_symbol_t *, module_t *); 45 46 46 47 void program_run(void *entry, pcb_t *pcb); -
uspace/lib/c/include/stats.h
rb401b33 re28175d 52 52 53 53 extern stats_thread_t *stats_get_threads(size_t *); 54 extern stats_ipcc_t *stats_get_ipccs(size_t *); 54 55 55 56 extern stats_exc_t *stats_get_exceptions(size_t *); -
uspace/lib/c/include/str.h
rb401b33 re28175d 98 98 99 99 extern bool str_test_prefix(const char *s, const char *p); 100 extern const char *str_suffix(const char *s, size_t prefix_length); 100 101 101 102 extern void str_cpy(char *dest, size_t size, const char *src); -
uspace/lib/c/include/task.h
rb401b33 re28175d 36 36 #define _LIBC_TASK_H_ 37 37 38 #include <async.h> 38 39 #include <stdint.h> 39 40 #include <stdarg.h> … … 56 57 extern errno_t task_spawnv(task_id_t *, task_wait_t *, const char *path, 57 58 const char *const []); 59 extern errno_t task_spawnv_debug(task_id_t *, task_wait_t *, const char *path, 60 const char *const [], async_sess_t **); 58 61 extern errno_t task_spawnvf(task_id_t *, task_wait_t *, const char *path, 59 62 const char *const [], int, int, int); 63 extern errno_t task_spawnvf_debug(task_id_t *, task_wait_t *, const char *path, 64 const char *const [], int, int, int, async_sess_t **); 60 65 extern errno_t task_spawn(task_id_t *, task_wait_t *, const char *path, int, 61 66 va_list ap);
Note:
See TracChangeset
for help on using the changeset viewer.
