docs/comments: add simple document and fix typo
This patch adds simple document for the shared memory file system. with typos fix in a other places. Signed-off-by: Yanfeng Liu <yfliu2008@qq.com>
This commit is contained in:
parent
0c50af583d
commit
3bd35487f0
@ -2,4 +2,16 @@
|
||||
Shared Memory File System
|
||||
=========================
|
||||
|
||||
Include support for shm_open() and shm_close.
|
||||
This supports the POSIX shm_open() APIs for shared memory among unrelated
|
||||
apps.
|
||||
|
||||
It can be enabled with ``CONFIG_FS_SHMFS=y``. To check how it works, please
|
||||
also enable the example app via ``CONFIG_EXMAPLE_SHM=y`` and run ``shm_test``
|
||||
from NSH command line.
|
||||
|
||||
This file system doesn't support mount operations though.
|
||||
|
||||
If comment the line using ``shm_unlink()`` in the example app, we can see
|
||||
a file under ``/var/shm/`` from NSH command line after running the example.
|
||||
We can also remove that file from command line.
|
||||
|
||||
|
@ -394,7 +394,7 @@ choice
|
||||
depends on NET_STAR
|
||||
default NET_STARPOINT
|
||||
---help---
|
||||
Specifies the role of this not in the star configuration.
|
||||
Specifies the role of this node in the star configuration.
|
||||
|
||||
config NET_STARPOINT
|
||||
bool "Point node in star"
|
||||
|
Loading…
Reference in New Issue
Block a user