zephyr/include/misc
Tomasz Gorochowik c0b30355fb net: sockets: implement getsockname function
From POSIX.1-2017:

The getsockname() function shall retrieve the locally-bound name of the
specified socket, store this address in the sockaddr structure pointed
to by the address argument, and store the length of this address in the
object pointed to by the address_len argument.

The address_len argument points to a socklen_t object which on input
specifies the length of the supplied sockaddr structure, and on output
specifies the length of the stored address. If the actual length of the
address is greater than the length of the supplied sockaddr structure,
the stored address shall be truncated.

If the socket has not been bound to a local name, the value stored in
the object pointed to by address is unspecified.

Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com>
2019-05-17 22:49:32 +03:00
..
__assert.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
byteorder.h
dlist.h include: Make statements evaluate boolean expressions 2019-03-26 22:06:45 -04:00
errno_private.h
fdtable.h net: sockets: implement getsockname function 2019-05-17 22:49:32 +03:00
gcov.h
libc-hooks.h libc: rename _zephyr_fputc to zephyr_fputc 2019-03-12 13:59:06 -05:00
list_gen.h include: Make statements evaluate boolean expressions 2019-03-26 22:06:45 -04:00
math_extras_impl.h misc: Implement math_extras.h function with GCC builtins. 2019-05-14 19:53:30 -05:00
math_extras.h misc: Portable math_extras.h implementations. 2019-05-14 19:53:30 -05:00
mempool_base.h all: Update reserved function names 2019-03-11 13:48:42 -04:00
mempool.h sys_mem_pool: use sys_mutex 2019-04-03 13:47:45 -04:00
mutex.h lib: os: add sys_mutex data type 2019-04-03 13:47:45 -04:00
printk.h subsystems: Rename reserved function names 2019-04-03 17:31:00 -04:00
rb.h C++: Fix compilation error "invalid conversion" 2019-05-03 14:27:07 -04:00
reboot.h
ring_buffer.h
sflist.h all: Add 'U' suffix when using unsigned variables 2019-03-28 17:15:58 -05:00
slist.h
speculation.h doc: fix misspelling in docs and API comments 2019-03-27 15:59:09 -04:00
stack.h kernel: demote K_THREAD_STACK_BUFFER() to private 2019-04-05 16:10:02 -04:00
util.h util: extending UTIL_DEC_N definitions 2019-05-01 10:33:17 -04:00