File:  [DVB] / dietlibc / lib / __inotify_init.c
Revision 1.1: download - view: text, annotated - select for diffs
Fri Aug 17 10:13:11 2018 UTC (5 years, 9 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
add inotify_init wrapper for platforms with only have inotify_init1

#include <sys/inotify.h>
#include "syscalls.h"

#if defined(__NR_inotify_init1) && !defined(__NR_inotify_init)
int inotify_init() {
  return inotify_init1(0);
}
#endif

LinuxTV legacy CVS <linuxtv.org/cvs>