Function Entry: CLOSE

← Prev | ↑ Chapter | Next → | Index | Symbols

Function Entry: CLOSE

Name

close

Class

Function

Syntax

(close file-desc)

Arguments and Values

  • file-desc: open file descriptor

Description

Closes an open file.

Return Values

nil.

Side Effects

Terminates access through file-desc and flushes buffered output according to host behavior.

Exceptional Situations

Erroneous if file-desc is not an open file descriptor.

Availability

  • AutoCAD 2026: documented (per Autodesk reference page).
  • BricsCAD V26: presumed compatible (no contradicting page found).
  • Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.