Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tag: v0.3.2
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (24 sloc) 0.466 kB
#include "node.h"
#include "platform.h"
namespace node {
char** OS::SetupArgs(int argc, char *argv[]) {
return argv;
}
void OS::SetProcessTitle(char *title) {
;
}
const char* OS::GetProcessTitle(int *len) {
*len = 0;
return NULL;
}
int OS::GetMemory(size_t *rss, size_t *vsize) {
// Not implemented
*rss = 0;
*vsize = 0;
return 0;
}
int OS::GetExecutablePath(char *buffer, size_t* size) {
*size = 0;
return -1;
}
} // namespace node
Jump to Line
Something went wrong with that request. Please try again.