forked from Imagelibrary/rtems
Added files and directories.
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
# Set this based on which chapter you want to generate a template for.
|
# Set this based on which chapter you want to generate a template for.
|
||||||
chapter="process"
|
chapter="files"
|
||||||
|
|
||||||
case ${chapter} in
|
case ${chapter} in
|
||||||
process)
|
process)
|
||||||
@@ -20,6 +20,14 @@ case ${chapter} in
|
|||||||
getlogin getlogin_r getpgrp setsid setpgid uname times \
|
getlogin getlogin_r getpgrp setsid setpgid uname times \
|
||||||
getenv ctermid ttyname ttyname_r isatty sysconf "
|
getenv ctermid ttyname ttyname_r isatty sysconf "
|
||||||
;;
|
;;
|
||||||
|
files)
|
||||||
|
CHAPTER_CAPS="Files and Directories"
|
||||||
|
CHAPTER_LOWER="files and directories"
|
||||||
|
ROUTINES="opendir readdir readdir_r rewinddir closedir \
|
||||||
|
chdir getcwd open creat umask link mkdir mkfifo unlink \
|
||||||
|
rmdir rename stat fstat access chmod fchmod chown \
|
||||||
|
utime ftrunctate pathconf fpathconf"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Unknown chapter name"
|
echo "Unknown chapter name"
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user