pty: Activate the signature wrapper of forkpty.
[gnulib.git] / lib / ino-map.h
1 #ifndef _GL_INO_MAP_H
2 # define _GL_INO_MAP_H
3
4 # include <sys/types.h>
5
6 # undef _GL_ATTRIBUTE_NONNULL
7 # if __GNUC__ == 3 && __GNUC_MINOR__ >= 3 || 3 < __GNUC__
8 #  define _GL_ATTRIBUTE_NONNULL(m) __attribute__ ((__nonnull__ (m)))
9 # else
10 #  define _GL_ATTRIBUTE_NONNULL(m)
11 # endif
12
13 # define INO_MAP_INSERT_FAILURE ((size_t) -1)
14
15 struct ino_map *ino_map_alloc (size_t);
16 void ino_map_free (struct ino_map *) _GL_ATTRIBUTE_NONNULL (1);
17 size_t ino_map_insert (struct ino_map *, ino_t) _GL_ATTRIBUTE_NONNULL (1);
18
19 #endif