Function closeSync

  • Closes the file descriptor. Returns undefined.

    Calling fs.closeSync() on any file descriptor (fd) that is currently in use through any other fs operation may lead to undefined behavior.

    See the POSIX close(2) documentation for more detail.

    Since

    v0.0.67

    Parameters

    • fd: number

    Returns void

  • Closes the file descriptor. Returns undefined.

    Calling fs.closeSync() on any file descriptor (fd) that is currently in use through any other fs operation may lead to undefined behavior.

    See the POSIX close(2) documentation for more detail.

    Since

    v0.0.67

    Parameters

    • fd: number

    Returns void

Generated using TypeDoc