File: compat.h

package info (click to toggle)
entr 2.6-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 180 kB
  • ctags: 136
  • sloc: ansic: 1,095; sh: 168; makefile: 7
file content (15 lines) | stat: -rw-r--r-- 286 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* compat.h */

#if defined(_LINUX_PORT)
#include <sys/types.h>
size_t strlcpy(char *to, const char *from, int l);
#endif

#if defined(_MACOS_PORT)
#include <stdio.h>
FILE *fmemopen(void *buf, size_t size, const char *mode);
#endif

#if !defined(ARG_MAX)
#define ARG_MAX 2097152
#endif