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

Martin Lenders notifications at github.com
Wed Nov 20 11:21:42 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.

See 5fdd9ab

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


More information about the notifications mailing list