Browse Source

fixed typos.

master
Felix von Leitner 20 years ago
parent
commit
f432739bd6
  1. 2
      buffer/buffer_putsalign.c
  2. 2
      buffer/buffer_putsflush.c
  3. 2
      unix/ndelay_off.c

2
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));
}

2
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));
}

2
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);
}
Loading…
Cancel
Save