introduce $BASHPID for ormaaj from #ksh

This commit is contained in:
tg
2012-11-20 17:42:32 +00:00
parent bfda9858f1
commit 435bc124ef
4 changed files with 15 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#if defined(VARSPEC_DEFNS)
__RCSID("$MirOS: src/bin/mksh/var_spec.h,v 1.2 2011/06/05 19:58:21 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/var_spec.h,v 1.3 2012/11/20 17:42:32 tg Exp $");
#define FN(name) /* nothing */
#elif defined(VARSPEC_ENUMS)
#define FN(name) V_##name,
@ -19,6 +19,7 @@ __RCSID("$MirOS: src/bin/mksh/var_spec.h,v 1.2 2011/06/05 19:58:21 tg Exp $");
F0(NONE)
/* 1 and up are special variables */
FN(BASHPID)
FN(COLUMNS)
#if HAVE_PERSISTENT_HISTORY
FN(HISTFILE)