Welcome to mirror list, hosted at ThFree Co, Russian Federation.

platform.h « src - github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f02523072576b0b3b06bbe39f4708b41bd28000c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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_