diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-17 20:25:27 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-06-17 20:25:27 +0000 |
commit | d8ee4cfaf8afacfe8ff455900ed391af4f642888 (patch) | |
tree | d477c2d0bde57c71a78722de873a78b035357c75 /nuttx/binfmt/binfmt_unloadmodule.c | |
parent | 7a34357c62dd8c1910f444d37f80ed18425b7fad (diff) | |
download | px4-nuttx-d8ee4cfaf8afacfe8ff455900ed391af4f642888.tar.gz px4-nuttx-d8ee4cfaf8afacfe8ff455900ed391af4f642888.tar.bz2 px4-nuttx-d8ee4cfaf8afacfe8ff455900ed391af4f642888.zip |
Add exec_module
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1895 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/binfmt/binfmt_unloadmodule.c')
-rw-r--r-- | nuttx/binfmt/binfmt_unloadmodule.c | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/nuttx/binfmt/binfmt_unloadmodule.c b/nuttx/binfmt/binfmt_unloadmodule.c index f5d7ec92c..ff745171a 100644 --- a/nuttx/binfmt/binfmt_unloadmodule.c +++ b/nuttx/binfmt/binfmt_unloadmodule.c @@ -66,18 +66,23 @@ * Private Functions ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Public Functions - ***********************************************************************/ + ****************************************************************************/ -/*********************************************************************** +/**************************************************************************** * Name: unload_module * * Description: * Unload a (non-executing) module from memory. If the module has * been started (via exec_module), calling this will be fatal. * - ***********************************************************************/ + * 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 unload_module(FAR const struct binary_s *bin) { |