#include <config.h>
#include "csbuild-main.h"
#include <cerrno>
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <locale>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <boost/format.hpp>
Include dependency graph for csbuild-main.cc:
Go to the source code of this file.
Typedefs | |
typedef std::pair< main::error_code, const char * > | emap |
Variables | |
emap | init_errors [] |
This is a list of the supported error codes. |
typedef std::pair<main::error_code,const char *> emap [static] |
Definition at line 45 of file csbuild-main.cc.
emap init_errors[] [static] |
Initial value:
{ emap(main::DEVICE_NOTBLOCK, N_("File is not a block device")), emap(main::DEVICE_OWNED, N_("Failed to release device lock (lock held by PID %4%)")), emap(main::DEVICE_RELEASE, N_("Failed to release device lock")), emap(main::DEVICE_STAT, N_("Failed to stat device")) }
It's used to construct the real error codes map.
Definition at line 51 of file csbuild-main.cc.