xref: /minix3/bin/ls/main.c (revision 02efe53e8c43842ad2e7f1bfd138e4a74f48d85f)
1*02efe53eSSevan Janiyan /*	$NetBSD: main.c,v 1.5 2016/09/05 01:00:07 sevan Exp $	*/
2b7ef8cfbSLionel Sambuc 
3b7ef8cfbSLionel Sambuc /*-
4b7ef8cfbSLionel Sambuc  * Copyright (c) 1999 The NetBSD Foundation, Inc.
5b7ef8cfbSLionel Sambuc  * All rights reserved.
6b7ef8cfbSLionel Sambuc  *
7b7ef8cfbSLionel Sambuc  * This code is derived from software contributed to The NetBSD Foundation
8b7ef8cfbSLionel Sambuc  * by Luke Mewburn.
9b7ef8cfbSLionel Sambuc  *
10b7ef8cfbSLionel Sambuc  * Redistribution and use in source and binary forms, with or without
11b7ef8cfbSLionel Sambuc  * modification, are permitted provided that the following conditions
12b7ef8cfbSLionel Sambuc  * are met:
13b7ef8cfbSLionel Sambuc  * 1. Redistributions of source code must retain the above copyright
14b7ef8cfbSLionel Sambuc  *    notice, this list of conditions and the following disclaimer.
15b7ef8cfbSLionel Sambuc  * 2. Redistributions in binary form must reproduce the above copyright
16b7ef8cfbSLionel Sambuc  *    notice, this list of conditions and the following disclaimer in the
17b7ef8cfbSLionel Sambuc  *    documentation and/or other materials provided with the distribution.
18b7ef8cfbSLionel Sambuc  *
19b7ef8cfbSLionel Sambuc  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20b7ef8cfbSLionel Sambuc  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21b7ef8cfbSLionel Sambuc  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22b7ef8cfbSLionel Sambuc  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23b7ef8cfbSLionel Sambuc  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24b7ef8cfbSLionel Sambuc  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25b7ef8cfbSLionel Sambuc  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26b7ef8cfbSLionel Sambuc  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27b7ef8cfbSLionel Sambuc  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28b7ef8cfbSLionel Sambuc  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29b7ef8cfbSLionel Sambuc  * POSSIBILITY OF SUCH DAMAGE.
30b7ef8cfbSLionel Sambuc  */
31b7ef8cfbSLionel Sambuc 
32b7ef8cfbSLionel Sambuc #include <sys/cdefs.h>
33b7ef8cfbSLionel Sambuc 
34b7ef8cfbSLionel Sambuc #ifndef lint
35*02efe53eSSevan Janiyan __RCSID("$NetBSD: main.c,v 1.5 2016/09/05 01:00:07 sevan Exp $");
36b7ef8cfbSLionel Sambuc #endif /* not lint */
37b7ef8cfbSLionel Sambuc 
38b7ef8cfbSLionel Sambuc #include <sys/types.h>
39b7ef8cfbSLionel Sambuc #include <fts.h>
40b7ef8cfbSLionel Sambuc 
41b7ef8cfbSLionel Sambuc #include "ls.h"
42b7ef8cfbSLionel Sambuc #include "extern.h"
43b7ef8cfbSLionel Sambuc 
44b7ef8cfbSLionel Sambuc int
main(int argc,char * argv[])45b7ef8cfbSLionel Sambuc main(int argc, char *argv[])
46b7ef8cfbSLionel Sambuc {
47b7ef8cfbSLionel Sambuc 
48b7ef8cfbSLionel Sambuc 	return ls_main(argc, argv);
49b7ef8cfbSLionel Sambuc 	/* NOTREACHED */
50b7ef8cfbSLionel Sambuc }
51