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