diff --git a/chicken.import.scm b/chicken.import.scm
index e5d2cba..e26461a 100644
a
|
b
|
|
174 | 174 | open-input-string |
175 | 175 | open-output-string |
176 | 176 | parentheses-synonyms |
| 177 | port-closed? |
177 | 178 | port-name |
178 | 179 | port-position |
179 | 180 | port? |
diff --git a/library.scm b/library.scm
index 50dffbd..6a504d7 100644
a
|
b
|
EOF |
1657 | 1657 | (and (%port? x) |
1658 | 1658 | (not (##sys#slot x 1)) ) ) |
1659 | 1659 | |
| 1660 | (define (port-closed? p) |
| 1661 | (##sys#check-port p 'port-closed?) |
| 1662 | (##sys#slot p 8)) |
| 1663 | |
1660 | 1664 | ;;; Port layout: |
1661 | 1665 | ; |
1662 | 1666 | ; 0: FP (special) |
diff --git a/manual/Unit library b/manual/Unit library
index ef0f01d..ffed0fa 100644
a
|
b
|
different behavior. |
207 | 207 | Write buffered output to the given output-port. {{PORT}} defaults |
208 | 208 | to the value of {{(current-output-port)}}. |
209 | 209 | |
| 210 | ==== port-closed? |
| 211 | |
| 212 | <procedure>(port-closed? PORT)</procedure> |
| 213 | |
| 214 | Is the given {{PORT}} closed? |
210 | 215 | |
211 | 216 | ==== port-name |
212 | 217 | |