~ubuntu-branches/ubuntu/precise/nodejs/precise

« back to all changes in this revision

Viewing changes to src/platform_none.cc

  • Committer: Bazaar Package Importer
  • Author(s): Jérémy Lal
  • Date: 2010-08-20 11:49:04 UTC
  • mfrom: (7.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20100820114904-lz22w6fkth7yh179
Tags: 0.2.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#include "node.h"
 
2
#include "platform.h"
 
3
 
 
4
 
 
5
namespace node {
 
6
 
 
7
 
 
8
char** OS::SetupArgs(int argc, char *argv[]) {
 
9
  return argv;
 
10
}
 
11
 
 
12
 
 
13
void OS::SetProcessTitle(char *title) {
 
14
  ;
 
15
}
 
16
 
 
17
 
 
18
const char* OS::GetProcessTitle(int *len) {
 
19
  *len = 0;
 
20
  return NULL;
 
21
}
 
22
 
 
23
 
 
24
int OS::GetMemory(size_t *rss, size_t *vsize) {
 
25
  // Not implemented
 
26
  *rss = 0;
 
27
  *vsize = 0;
 
28
  return 0;
 
29
}
 
30
 
 
31
int OS::GetExecutablePath(char *buffer, size_t* size) {
 
32
  *size = 0;
 
33
  return 0;
 
34
}
 
35
 
 
36
}  // namespace node