summaryrefslogtreecommitdiff
path: root/nuttx/libc/Kconfig
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-05 10:43:17 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-05 10:43:17 -0600
commite76eef31375dcbea0e05b971b646f14893041046 (patch)
tree600f246391112b193dd8c2148ceeb3280e26af45 /nuttx/libc/Kconfig
parent242d5e18ce594dab9ed6777fd7cde7e9dae4c99f (diff)
downloadpx4-nuttx-e76eef31375dcbea0e05b971b646f14893041046.tar.gz
px4-nuttx-e76eef31375dcbea0e05b971b646f14893041046.tar.bz2
px4-nuttx-e76eef31375dcbea0e05b971b646f14893041046.zip
Add tmpnam() and tempnam()
Diffstat (limited to 'nuttx/libc/Kconfig')
-rw-r--r--nuttx/libc/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/nuttx/libc/Kconfig b/nuttx/libc/Kconfig
index 8f9569bde..138793aad 100644
--- a/nuttx/libc/Kconfig
+++ b/nuttx/libc/Kconfig
@@ -192,6 +192,27 @@ config LIBC_PERROR_STDOUT
be defined, however, to provide perror() output that is serialized with
other stdout messages.
+config LIBC_TMPDIR
+ string "Temporary file directory"
+ default "/tmp"
+ depends on FS_WRITABLE
+ ---help---
+ If a write-able file system is selected, this string will be
+ provided to specify the full path to a directory where temporary
+ files can be created. This would be a good application of RAM disk:
+ To provide temporary storage for application data.
+
+config LIBC_MAX_TMPFILE
+ int "Maximum size of a temporary file path"
+ default 32
+ depends on FS_WRITABLE
+ ---help---
+ If a write-able file system is selected, then temporary file may be
+ supported at the path provided by LIBC_TMPDIR. The tmpnam() interface
+ keeps a static copy of this last filename produced; this value is the
+ maximum size of that last filename. This size is the size of the full
+ file path.
+
config ARCH_LOWPUTC
bool "Low-level console output"
default "y"