From 2e578322c9be24a4c185abf7ed237a73b933a1fc Mon Sep 17 00:00:00 2001 From: leitner Date: Thu, 15 Feb 2001 21:23:52 +0000 Subject: [PATCH] fixed typos. --- buffer/buffer_putsalign.c | 2 +- buffer/buffer_putsflush.c | 2 +- unix/ndelay_off.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/buffer/buffer_putsalign.c b/buffer/buffer_putsalign.c index 1ca7871..2693e5c 100644 --- a/buffer/buffer_putsalign.c +++ b/buffer/buffer_putsalign.c @@ -1,6 +1,6 @@ #include "str.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)); } diff --git a/buffer/buffer_putsflush.c b/buffer/buffer_putsflush.c index f13e639..e01762d 100644 --- a/buffer/buffer_putsflush.c +++ b/buffer/buffer_putsflush.c @@ -1,6 +1,6 @@ #include "str.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)); } diff --git a/unix/ndelay_off.c b/unix/ndelay_off.c index 036083e..0748fd6 100644 --- a/unix/ndelay_off.c +++ b/unix/ndelay_off.c @@ -7,6 +7,6 @@ #define O_NDELAY O_NONBLOCK #endif -int ndelay_on(int fd) { +int ndelay_off(int fd) { return fcntl(fd,F_SETFL,fcntl(fd,F_GETFL,0) & ~O_NDELAY); }