Changes in uspace/lib/nettl/src/portrng.c [6969eea3:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nettl/src/portrng.c
r6969eea3 rb7fd2a0 51 51 * @return EOK on success, ENOMEM if out of memory 52 52 */ 53 int portrng_create(portrng_t **rpr)53 errno_t portrng_create(portrng_t **rpr) 54 54 { 55 55 portrng_t *pr; … … 93 93 * @c pf_allow_system was not set. 94 94 */ 95 int portrng_alloc(portrng_t *pr, uint16_t pnum, void *arg,95 errno_t portrng_alloc(portrng_t *pr, uint16_t pnum, void *arg, 96 96 portrng_flags_t flags, uint16_t *apnum) 97 97 { … … 163 163 * @return EOK on success, ENOENT if specified port number is not allocated 164 164 */ 165 int portrng_find_port(portrng_t *pr, uint16_t pnum, void **rarg)165 errno_t portrng_find_port(portrng_t *pr, uint16_t pnum, void **rarg) 166 166 { 167 167 list_foreach(pr->used, lprng, portrng_port_t, port) {
Note:
See TracChangeset
for help on using the changeset viewer.