KallistiOS
git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
limits.h
Go to the documentation of this file.
1
/* KallistiOS ##version##
2
3
kos/limits.h
4
(c)2000-2001 Megan Potter
5
6
*/
7
8
/** \file kos/limits.h
9
\brief Limits
10
\ingroup system_posix
11
12
This file contains definitions of limits of various things.
13
14
\author Megan Potter
15
*/
16
17
#ifndef __KOS_LIMITS_H
18
#define __KOS_LIMITS_H
19
20
/** \addtogroup system_posix
21
@{
22
*/
23
24
#ifndef NAME_MAX
25
#define NAME_MAX 256
/**< \brief Max filename length */
26
#endif
27
28
/* MAX_FN_LEN defined for legacy code compatibility */
29
#ifndef MAX_FN_LEN
30
#define MAX_FN_LEN NAME_MAX
31
#endif
32
33
#ifndef PATH_MAX
34
#define PATH_MAX 4096
/**< \brief Max path length */
35
#endif
36
37
#ifndef SYMLOOP_MAX
38
#define SYMLOOP_MAX 16
/**< \brief Max number of symlinks resolved */
39
#endif
40
41
/** @} */
42
43
#endif
/* __KOS_LIMITS_H */
include
kos
limits.h
Generated by
1.11.0