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