Commit 8b9e18e1 authored by Jan Kiszka's avatar Jan Kiszka
Browse files

cobalt/rtdm/fd: Fix error code documentation of rtdm_fd_select

It also returns -EADV since 2db562ad

 - causing troubles in select.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent 69fd5cb3
......@@ -938,7 +938,11 @@ int rtdm_fd_valid_p(int ufd)
*
* @return 0 on success, otherwise:
*
* - -EBADF is returned if the file descriptor @a ufd cannot be resolved.
* - -EADV is returned if the file descriptor @a ufd cannot be resolved.
*
* - -EBADF is returned if the underlying device is being torn down at the time
* of the call.
*
* - -EINVAL is returned if @a type is invalid.
*
* @coretags{task-unrestricted}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment