summaryrefslogtreecommitdiff
path: root/nuttx/binfmt/binfmt_register.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/binfmt/binfmt_register.c')
-rw-r--r--nuttx/binfmt/binfmt_register.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/nuttx/binfmt/binfmt_register.c b/nuttx/binfmt/binfmt_register.c
index 309c081e6..2323062ec 100644
--- a/nuttx/binfmt/binfmt_register.c
+++ b/nuttx/binfmt/binfmt_register.c
@@ -65,17 +65,22 @@
* Private Functions
****************************************************************************/
-/***********************************************************************
+/****************************************************************************
* Public Functions
- ***********************************************************************/
+ ****************************************************************************/
-/***********************************************************************
+/****************************************************************************
* Name: register_binfmt
*
* Description:
* Register a loader for a binary format
*
- ***********************************************************************/
+ * Returned Value:
+ * This is a NuttX internal function so it follows the convention that
+ * 0 (OK) is returned on success and a negated errno is returned on
+ * failure.
+ *
+ ****************************************************************************/
int register_binfmt(FAR struct binfmt_s *binfmt)
{