]> diplodocus.org Git - nmh/blob - uip/whatnow.c
lock_file.c: close(2) file descriptor on failure, avoiding leak.
[nmh] / uip / whatnow.c
1 /* whatnow.c -- the nmh `WhatNow' shell
2 *
3 * This code is Copyright (c) 2002, by the authors of nmh. See the
4 * COPYRIGHT file in the root directory of the nmh distribution for
5 * complete copyright information.
6 */
7
8 #include <h/mh.h>
9 #include <h/utils.h>
10
11
12 int
13 main (int argc, char **argv)
14 {
15 if (nmh_init(argv[0], 2)) { return 1; }
16
17 return WhatNow (argc, argv);
18 }