]> asedeno.scripts.mit.edu Git - 1ts-debian.git/blob - zephyr/lib/ZSetFD.c
Initial revision
[1ts-debian.git] / zephyr / lib / ZSetFD.c
1 /* This file is part of the Project Athena Zephyr Notification System.
2  * It contains source for the ZSetFD function.
3  *
4  *      Created by:     Robert French
5  *
6  *      $Id: ZSetFD.c,v 1.8 1999/01/22 23:19:28 ghudson Exp $
7  *
8  *      Copyright (c) 1987 by the Massachusetts Institute of Technology.
9  *      For copying and distribution information, see the file
10  *      "mit-copyright.h". 
11  */
12
13 #ifndef lint
14 static char rcsid_ZSetFD_c[] = "$Id: ZSetFD.c,v 1.8 1999/01/22 23:19:28 ghudson Exp $";
15 #endif
16
17 #include <internal.h>
18
19 Code_t ZSetFD(fd)
20         int     fd;
21 {
22         (void) ZClosePort();
23
24         __Zephyr_fd = fd;
25         __Zephyr_open = 0;
26         
27         return (ZERR_NONE);
28 }