fixed typos.

master
leitner 24 years ago
parent 9bb30d2797
commit 2e578322c9

@ -1,6 +1,6 @@
#include "str.h" #include "str.h"
#include "buffer.h" #include "buffer.h"
int buffer_puts(buffer* b,const char* x) { int buffer_putsalign(buffer* b,const char* x) {
return buffer_putalign(b,x,str_len(x)); return buffer_putalign(b,x,str_len(x));
} }

@ -1,6 +1,6 @@
#include "str.h" #include "str.h"
#include "buffer.h" #include "buffer.h"
int buffer_puts(buffer* b,const char* x) { int buffer_putsflush(buffer* b,const char* x) {
return buffer_putflush(b,x,str_len(x)); return buffer_putflush(b,x,str_len(x));
} }

@ -7,6 +7,6 @@
#define O_NDELAY O_NONBLOCK #define O_NDELAY O_NONBLOCK
#endif #endif
int ndelay_on(int fd) { int ndelay_off(int fd) {
return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~O_NDELAY); return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~O_NDELAY);
} }

Loading…
Cancel
Save