interface-fixed?

Synopsis

(interface-fixed? interface)

Parameters

  • interface

Description

This predicate returns #t if the specified interface is “fixed” and thus exempted from being garbage collected when the interpreter has no longer a reference to it, otherwise #f is returned.

Side Effects

Return Value

#t or #f

Example

> (define interface (interface-attach "en0"))
interface
> (interface-fix! interface)
ok
> (interface-fixed? interface)
#t
>