opnsense-src/sys/boot/ficl
Marcel Moolenaar 68fd965f98 Add 2 builtin words for working with directories:
isdir?		( fd -- bool )
	freaddir	( fd -- ptr len TRUE | FALSE )

The 'isdir?' word returns `true' if the file descriptor is for a
directory and `false' otherwise.

The 'freaddir' word reads the next directory entry and if successful,
returns its name and 'true'. Otherwise 'false' is returned.

These words give the loader the ability to scan directories and read
files contained in them for 'rc.d'-like flexibility in handling which
modules to load and/or which tunables to set.

Obtained from:	Juniper Networks, Inc.
2013-07-10 21:37:50 +00:00
..
amd64 Add a version of the FreeBSD bootloader which can run in userland, packaged 2011-06-30 16:08:56 +00:00
arm Fix two broken macros. 2013-04-07 05:40:49 +00:00
i386 Fix clang warnings. 2012-02-05 20:00:39 +00:00
ia64
mips Add basic mips support. This has been compile tested only. 2009-02-19 18:52:31 +00:00
powerpc
softwords Update to FICL 3.03 (the last release before FICL4 rewrite). 2007-03-23 22:26:01 +00:00
sparc64
dict.c
ficl.c
ficl.h Add a missing prototype 2010-06-20 08:03:06 +00:00
fileaccess.c Fix clang warnings. 2012-02-05 20:00:39 +00:00
float.c Update to FICL 3.03 (the last release before FICL4 rewrite). 2007-03-23 22:26:01 +00:00
loader.c Add 2 builtin words for working with directories: 2013-07-10 21:37:50 +00:00
Makefile Build a 64 bit version of the FICL library. This is need for a 64 bit 2012-12-21 05:22:14 +00:00
math64.c
math64.h
prefix.c
search.c
stack.c
testmain.c
tools.c The CELL fields can be various integer types depending on the platform 2013-04-07 05:53:42 +00:00
unix.c Update to FICL 3.03 (the last release before FICL4 rewrite). 2007-03-23 22:26:01 +00:00
vm.c Update to FICL 3.03 (the last release before FICL4 rewrite). 2007-03-23 22:26:01 +00:00
words.c Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00