osfhandle.cc 359 B

12345678910111213141516171819
  1. // Copyright (c) 2016 GitHub, Inc.
  2. // Use of this source code is governed by the MIT license that can be
  3. // found in the LICENSE file.
  4. #include "osfhandle.h"
  5. #include <io.h>
  6. namespace node {
  7. int open_osfhandle(intptr_t osfhandle, int flags) {
  8. return _open_osfhandle(osfhandle, flags);
  9. }
  10. int close(int fd) {
  11. return _close(fd);
  12. }
  13. } // namespace node