Source

linux-scalability-benchmarks / libowfat / io / io_setcookie.c

The default branch has multiple heads

Full commit
1
2
3
4
5
6
7
8
9

#include <unistd.h>
#include "io_internal.h"

void io_setcookie(int64 d,void* cookie) {
  io_entry* e;
  if ((e=array_get(&io_fds,sizeof(io_entry),d)))
    e->cookie=cookie;
}