xref: /titanic_41/usr/src/lib/libcmd/common/llib-lcmd (revision 2eeaed14a5e2ed9bd811643ad5bffc3510ca0310)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21/*
22 * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23 * Use is subject to license terms.
24 *
25 * lib/libcmd/common/llib-lcmd
26 *
27 */
28
29#pragma ident	"%Z%%M%	%I%	%E% SMI"
30
31/*LINTLIBRARY*/
32/*PROTOLIB1*/
33
34#include <cmd.h>
35#include <cmdext.h>
36
37/* automatically generated data start here */
38extern int STANDALONE(int, char**, void*);
39extern int cmdrecurse(int, char**, int, char**);
40extern int b_basename(int, char**, void*);
41extern int b_cat(int, char**, void*);
42extern int b_chgrp(int, char**, void*);
43extern int b_chmod(int, char**, void*);
44extern int b_chown(int, char**, void*);
45extern int b_cmp(int, char**, void*);
46extern int b_comm(int, char**, void*);
47extern int b_cp(int, char**, void*);
48extern int b_cut(int, char**, void*);
49extern int b_date(int, char**, void*);
50extern int b_dirname(int, char**, void*);
51extern int b_expr(int, char**, void*);
52extern int b_fds(int, char**, void*);
53extern int b_fmt(int, char**, void*);
54extern int b_fold(int, char**, void*);
55extern int b_getconf(int, char**, void*);
56extern int b_head(int, char**, void*);
57extern int b_id(int, char**, void*);
58extern int b_join(int, char**, void*);
59extern int b_ln(int, char**, void*);
60extern int b_logname(int, char**, void*);
61extern int b_mkdir(int, char**, void*);
62extern int b_mkfifo(int, char**, void*);
63extern int b_mv(int, char**, void*);
64extern int b_paste(int, char**, void*);
65extern int b_pathchk(int, char**, void*);
66extern int b_rev(int, char**, void*);
67extern int b_rm(int, char**, void*);
68extern int b_rmdir(int, char**, void*);
69extern int b_stty(int, char**, void*);
70extern int b_tail(int, char**, void*);
71extern int b_tee(int, char**, void*);
72extern int b_tty(int, char**, void*);
73extern int b_uname(int, char**, void*);
74extern int b_uniq(int, char**, void*);
75extern int b_wc(int, char**, void*);
76/* end of automatically generated data */
77
78/*
79 * The |def*()| functions are the historical contents of Solaris
80 * libcmd. They have been moved to libc and libcmd contains only
81 * filter symbols for them, redirecting to libc.
82 */
83extern int defopen(char *fn);
84extern char *defread(char *cp);
85extern int defcntl(int cmd, int newflags);
86