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

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


> +    /** Write *n* bytes of *buf* to *fd*.  Return the number written, or -1. */
> +    ssize_t (*write)(int fd, const void *buf, size_t n);
> +
> +    /** Close the file descriptor *fd*. */
> +    int (*close)(int fd);
> +} fd_t;
> +
> +/**
> + * Initializes file descriptors
> + *
> + * @return  maximum number of available file descriptors.
> + */
> +int fd_init(void);
> +
> +/**
> + * Creates a new file descriptor.

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#r7786525
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131120/9815af71/attachment-0001.html>


More information about the notifications mailing list