404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.116.21.127: ~ $
#include <napi.h>
#include <unistd.h>

using namespace Napi;

Value Nice(const CallbackInfo& args) {
  int32_t inc = args[0].ToNumber();
  errno = 0;
  int32_t ret = nice(inc);
  if (errno != 0) {
    throw Error::New(
        args.Env(), std::string("nice(): ") + strerror(errno));
  }
  return Number::New(args.Env(), ret);
}

static Object Init(Env env, Object exports) {
  exports["nice"] = Function::New(env, Nice);
  return exports;
}

NODE_API_MODULE(nice_napi, Init)

Filemanager

Name Type Size Permission Actions
build Folder 0755
prebuilds Folder 0755
v8_enable_pointer_compression=false Folder 0755
.esm-wrapper.mjs File 81 B 0644
.taprc File 280 B 0644
.travis.yml File 735 B 0644
LICENSE File 1.06 KB 0644
README.md File 214 B 0644
binding.cc File 475 B 0644
binding.gyp File 552 B 0644
index.d.ts File 62 B 0644
index.js File 110 B 0644
package.json File 972 B 0644
test.js File 941 B 0644