2 * This file contains functions which can be inlined if the compiler
3 * has an "inline" modifier. Because of this, this file is both a
4 * header file and a compilable module.
6 * Only inlineable functions should be defined in here. They must all
7 * include the INLINE modifier.
9 * If the compiler supports inline, this file will be #included as a
10 * header file from os.h to create all the inline function
11 * definitions. INLINE will be defined to whatever is required on
12 * function definitions to make them inline declarations.
14 * If the compiler does not support inline, this file will be compiled
15 * as a normal C file into libos.a (along with os.c). In this case
16 * INLINE will _not_ be set so we can use this to test if we are
17 * compiling this source file.
23 /* Anything required only when compiling */
24 #include "ap_config.h"
29 ap_os_is_path_absolute(const char *file
)
31 return file
[0] == '/';