[riot-notifications] [RIOT] Posix sockets (#226)

Oleg Hahm notifications at github.com
Wed Nov 20 11:17:33 CET 2013


> +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*.
> + *
> + * @param[in] fd    A POSIX-like file descriptor.
> + *
> + * @return  The file descriptor table entry associated with file descriptor
> +            *fd* or NULL if there is non.
> + */
> +fd_t *fd_get(int fd);
> +
> +/**
> + * Removes file descriptor table entry associated with *fd* from table.

For consistency a `@brief` is missing.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/226/files#r7786528
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131120/1bb70e3e/attachment.html>


More information about the notifications mailing list