From c11a88f888cd81dbe825072200c7b2658d5bcf95 Mon Sep 17 00:00:00 2001 From: Vincent St-Amour Date: Tue, 25 May 2010 15:48:35 -0400 Subject: [PATCH] Added some indexes to the reference to make open-output-nowhere easier to find. --- collects/scribblings/reference/port-lib.scrbl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/reference/port-lib.scrbl b/collects/scribblings/reference/port-lib.scrbl index 3a5fbe51b9..d5d6ac84f8 100644 --- a/collects/scribblings/reference/port-lib.scrbl +++ b/collects/scribblings/reference/port-lib.scrbl @@ -271,8 +271,11 @@ instead of interleaving them.} @defproc[(open-output-nowhere [name any/c 'nowhere] [special-ok? any/c #t]) output-port?]{ - -Creates and returns an output port that discards all output sent to it +@index*['("discard-output" "null-output" "null-output-port" "dev-null" + "/dev/null") + '("Opening a null output port")]{ + +Creates} and returns an output port that discards all output sent to it (without blocking). The @scheme[name] argument is used as the port's name. If the @scheme[special-ok?] argument is true, then the resulting port supports @scheme[write-special], otherwise it does not.}