scsh-users
[Top] [All Lists]

How to catch exception raised by ->uid or user-info?

To: scsh@zurich.ai.mit.edu
Subject: How to catch exception raised by ->uid or user-info?
From: Andreas Voegele <voegelas@gmx.net>
Date: Sat, 02 Aug 2003 14:45:08 +0200
How can I catch an exception raised by ->uid or user-info?

The following code always fails (unless the user "foo" exists, of
course):

(with-errno-handler
 ((errno packet)
  (else 0))
 (->uid "foo"))

<Prev in Thread] Current Thread [Next in Thread>