1*4887Schin# 2*4887Schin# CDDL HEADER START 3*4887Schin# 4*4887Schin# The contents of this file are subject to the terms of the 5*4887Schin# Common Development and Distribution License (the "License"). 6*4887Schin# You may not use this file except in compliance with the License. 7*4887Schin# 8*4887Schin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*4887Schin# or http://www.opensolaris.org/os/licensing. 10*4887Schin# See the License for the specific language governing permissions 11*4887Schin# and limitations under the License. 12*4887Schin# 13*4887Schin# When distributing Covered Code, include this CDDL HEADER in each 14*4887Schin# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*4887Schin# If applicable, add the following below this CDDL HEADER, with the 16*4887Schin# fields enclosed by brackets "[]" replaced with your own identifying 17*4887Schin# information: Portions Copyright [yyyy] [name of copyright owner] 18*4887Schin# 19*4887Schin# CDDL HEADER END 20*4887Schin# 21*4887Schin 22*4887Schin# 23*4887Schin# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24*4887Schin# Use is subject to license terms. 25*4887Schin# 26*4887Schin# ident "%Z%%M% %I% %E% SMI" 27*4887Schin# 28*4887Schin 29*4887Schin# functions by AST/ksh93's version of libcmd 30*4887SchinSUNWprivate_1.1 { 31*4887Schin global: 32*4887Schin b_basename; 33*4887Schin b_cat; 34*4887Schin b_chgrp; 35*4887Schin b_chmod; 36*4887Schin b_chown; 37*4887Schin b_cmp; 38*4887Schin b_comm; 39*4887Schin b_cp; 40*4887Schin b_cut; 41*4887Schin b_date; 42*4887Schin b_dirname; 43*4887Schin b_expr; 44*4887Schin b_fds; 45*4887Schin b_fmt; 46*4887Schin b_fold; 47*4887Schin b_getconf; 48*4887Schin b_head; 49*4887Schin b_id; 50*4887Schin b_join; 51*4887Schin b_ln; 52*4887Schin b_logname; 53*4887Schin b_mkdir; 54*4887Schin b_mkfifo; 55*4887Schin b_mv; 56*4887Schin b_paste; 57*4887Schin b_pathchk; 58*4887Schin b_rev; 59*4887Schin b_rm; 60*4887Schin b_rmdir; 61*4887Schin b_stty; 62*4887Schin b_sync; 63*4887Schin b_tail; 64*4887Schin b_tee; 65*4887Schin b_tty; 66*4887Schin b_uname; 67*4887Schin b_uniq; 68*4887Schin b_wc; 69*4887Schin local: 70*4887Schin *; 71*4887Schin}; 72*4887Schin 73*4887Schin# functions exported by the old Solaris version of libcmd 74*4887Schin# (the code has been moved to libc starting with Solaris 11/B51) 75*4887SchinSUNWprivate_1.1 { 76*4887Schin global: 77*4887Schin defcntl = FUNCTION FILTER libc.so.1; 78*4887Schin defopen = FUNCTION FILTER libc.so.1; 79*4887Schin defread = FUNCTION FILTER libc.so.1; 80*4887Schin local: 81*4887Schin *; 82*4887Schin}; 83