<< 10/17 >>
First Last

Linux に存在しないもの

必要に応じてフィーリングで実装したりとか
あきらかに正しく実装してないものも…

  uint64_t mach_absolute_time() {
    return clock();
  }
  
  int host_info(int host, int flavor,
                struct __darwin_host_basic_info* info, int* info_cnt) {
    if (flavor != 1) {
      fprintf(stderr, "host_info with flavor=%d isn't supported yet.\n", flavor);
      abort();
    }
    ...
  
  NXArchInfo __darwin_local_arch_info = { "i486", 7, 4, 1, "Intel 80486" };
  const NXArchInfo* NXGetLocalArchInfo() {
    return &__darwin_local_arch_info;
  }