libowfat/io/io_setcookie.c

10 lines
161 B
C
Raw Normal View History

2003-09-10 00:28:51 +00:00
#include <unistd.h>
#include "io_internal.h"
void io_setcookie(int64 d,void* cookie) {
io_entry* e;
if ((e=iarray_get(&io_fds,d)))
2003-09-10 00:28:51 +00:00
e->cookie=cookie;
}