mirror of https://github.com/nodejs/node.git
19 lines
399 B
C++
19 lines
399 B
C++
#ifndef NODE_PLATFORM_H_
|
|
#define NODE_PLATFORM_H_
|
|
|
|
namespace node {
|
|
|
|
class OS {
|
|
public:
|
|
static char** SetupArgs(int argc, char *argv[]);
|
|
static void SetProcessTitle(char *title);
|
|
static const char* GetProcessTitle(int *len);
|
|
|
|
static int GetMemory(size_t *rss, size_t *vsize);
|
|
static int GetExecutablePath(char* buffer, size_t* size);
|
|
};
|
|
|
|
|
|
} // namespace node
|
|
#endif // NODE_PLATFORM_H_
|