1N/A/*********************************************************************** 1N/A* This software is part of the ast package * 1N/A* Copyright (c) 1982-2011 AT&T Intellectual Property * 1N/A* and is licensed under the * 1N/A* Common Public License, Version 1.0 * 1N/A* by AT&T Intellectual Property * 1N/A* A copy of the License is available at * 1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 1N/A* Information and Software Systems Research * 1N/A* David Korn <dgk@research.att.com> * 1N/A***********************************************************************/ 1N/A * Rewritten By David Korn 1N/A * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 1N/A/* These routines are referenced by this module */ 1N/A#
endif /* _lib_sigvec */ 1N/A /* check for interrupts during tree walks */ 1N/A#
endif /* _lib_fts_notify */ 1N/A * search for file and exfile() it if it exists 1N/A * 1 returned if file found, 0 otherwise 1N/A /* This is to clear mask that may be left on by rlogin */ 1N/A#
endif /* _lib_sigvec */ 1N/A#
endif /* _lib_fts_notify */ 1N/A /* begin script execution here */ 1N/A /* set pidname '$$' */ 1N/A /* decide whether shell is interactive */ 1N/A /* system profile */ 1N/A /* make sure PWD is set up correctly */ 1N/A /* open input file if specified */ 1N/A /* open stream should have been passed into shell */ 1N/A * try to undo effect of solaris 2.5+ 1N/A * change for argv for setuid scripts 1N/A /* exec to change $0 for ps */ 1N/A /* try sh -c 'name "$@"' */ 1N/A#
endif /* SHOPT_ACCT */ 1N/A * iop is not null when the input is a string 1N/A * fdin is the input file descriptor 1N/A /* open input stream */ 1N/A /* check for return from profile or env file */ 1N/A /* skip over remaining input */ 1N/A /* make sure that we own the terminal */ 1N/A /* error return here */ 1N/A /* -eim flags don't apply to profiles */ 1N/A /* sets timeout for command entry */ 1N/A#
endif /* SHOPT_TIMEOUT */ 1N/A /* The last command may not have to fork */ 1N/A /* This is for sh -t */ 1N/A/* prints out messages if files in list have been modified since last call */ 1N/A /* skip to : or end of string saving first '?' */ 1N/A /* change '?' to end-of-string */ 1N/A /* see if time has been modified since last checked 1N/A * and the access time <= the modification time 1N/A /* check for directory */ 1N/A /* generate list of directory entries */ 1N/A * If the file has shrunk, 1N/A * or if the size is zero 1N/A * then don't print anything 1N/A /* save and restore $_ */ 1N/A * fix up command line for ps command 1N/A * mode is 0 for initialization 1N/A#
endif /* EXECARGS */ 1N/A#
endif /* _lib_fork */