[riot-notifications] [RIOT] Posix sockets (#226)
notifications at github.com
Wed Nov 20 11:17:27 CET 2013
> + * Creates a new file descriptor.
> + *
> + * @param[in] internal_fd RIOT-internal identifier for the new FD.
> + * @param[in] internal_read Function to read from new FD.
> + * @param[in] internal_write Function to write into new FD.
> + * @param[in] internal_close Function to close new FD.
> + *
> + * @return 0 on success, -1 otherwise. *errno* is set accordingly.
> + */
> +int fd_new(int internal_fd, ssize_t (*internal_read)(int, void *, size_t),
> + ssize_t (*internal_write)(int, const void *, size_t),
> + int (*internal_close)(int));
> + * Gets the file descriptor table entry associated with file descriptor *fd*.
For consistency a `@brief` is missing.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications