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