Rev 1702 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1702 | Rev 1708 | ||
---|---|---|---|
Line 115... | Line 115... | ||
115 | * Read characters from character device until first occurrence |
115 | * Read characters from character device until first occurrence |
116 | * of newline character. |
116 | * of newline character. |
117 | * |
117 | * |
118 | * @param chardev Character device. |
118 | * @param chardev Character device. |
119 | * @param buf Buffer where to store string terminated by '\0'. |
119 | * @param buf Buffer where to store string terminated by '\0'. |
120 | * @param len Size of the buffer. |
120 | * @param buflen Size of the buffer. |
121 | * |
121 | * |
122 | * @return Number of characters read. |
122 | * @return Number of characters read. |
123 | */ |
123 | */ |
124 | count_t gets(chardev_t *chardev, char *buf, size_t buflen) |
124 | count_t gets(chardev_t *chardev, char *buf, size_t buflen) |
125 | { |
125 | { |