coan 4.2.4
platform.h File Reference
#include "opts.h"
#include <limits.h>
#include <stdio.h>
Include dependency graph for platform.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PATH_DELIM   '/'
#define FS_ROOT_PREFIX   "/"
#define OS_TYPE   "32 bit Unix/Linux"
#define NIX
#define STRICMP   strcasecmp
#define STRNICMP   strncasecmp
#define _XOPEN_SOURCE   500

Detailed Description

This file defines macros for values that vary with the host environment.

Definition in file platform.h.


Define Documentation

#define FS_ROOT_PREFIX   "/"

String that represents the root of the filesystem for Unix.

Definition at line 93 of file platform.h.

Referenced by file_tree_traverse().

#define NIX

This is a Unix/Linux build

Definition at line 104 of file platform.h.

#define OS_TYPE   "32 bit Unix/Linux"

Name of the host operating system type

Definition at line 99 of file platform.h.

Referenced by version().

#define PATH_DELIM   '/'

Character that delimits elements of a filesystem path for Unix

Definition at line 90 of file platform.h.

Referenced by deepen(), filter_filename(), fs_compose_filename(), fs_open_dir(), fs_path_comp(), fs_read_dir(), fs_split_filename(), make_tempfile(), parse_executable(), seek(), and traverse().

#define STRICMP   strcasecmp

Unix alias for case-insensitive string comparator function

Definition at line 107 of file platform.h.

Referenced by hash_include_compare().

#define STRNICMP   strncasecmp

Unix alias for case-insensitive n-byte string comparator function

Definition at line 109 of file platform.h.

Referenced by hash_include_compare().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines