I have done some work on opening a socket and waiting for a connection. This can be read line by line and I have started a request struct that it will accept. Also started on some docs. Not much is yet working. I am going to start learning µnit for unit tests: https://nemequ.github.io/munit/
9 lines
163 B
C
9 lines
163 B
C
#ifndef READLINE_H
|
|
#define READLINE_H
|
|
|
|
#include <unistd.h>
|
|
#include <errno.h>
|
|
|
|
ssize_t fdReadLine(int fd, void *buffer, size_t n);
|
|
|
|
#endif /* ifndef READLINE_H */
|