summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport/include/rtems/libcsupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libcsupport/include/rtems/libcsupport.h')
-rw-r--r--cpukit/libcsupport/include/rtems/libcsupport.h39
1 files changed, 22 insertions, 17 deletions
diff --git a/cpukit/libcsupport/include/rtems/libcsupport.h b/cpukit/libcsupport/include/rtems/libcsupport.h
index 32ed8a8798..808c0fbf43 100644
--- a/cpukit/libcsupport/include/rtems/libcsupport.h
+++ b/cpukit/libcsupport/include/rtems/libcsupport.h
@@ -30,29 +30,31 @@ extern "C" {
#endif
/**
- * @defgroup libcsupport Standard C Library Support
+ * @defgroup libcsupport Standard C Library Support
*
- * @brief RTEMS Specific Support for the Standard C Library
+ * @brief RTEMS Specific Support for the Standard C Library
+ *
+ * @{
*/
extern void malloc_dump(void);
/**
- * @brief Malloc Walk
+ * @brief Malloc walk.
*/
extern bool malloc_walk(int source, bool printf_enabled);
/**
- * @brief RTEMS Malloc Set Heap Pointer
+ * @brief Set malloc heap pointer.
*
- * This routine is primarily used for debugging.
+ * This routine is primarily used for debugging.
*/
void malloc_set_heap_pointer(Heap_Control *new_heap);
/**
- * @brief RTEMS Malloc Get Heap Pointer
+ * @brief Get malloc heap pointer.
*
- * This routine is primarily used for debugging.
+ * This routine is primarily used for debugging.
*/
Heap_Control *malloc_get_heap_pointer( void );
extern void libc_init(void);
@@ -60,17 +62,17 @@ extern int host_errno(void);
extern void fix_syscall_errno(void);
/**
- * @brief RTEMS Malloc Get Free Information
+ * @brief Get free malloc information.
*
- * Find amount of free heap remaining
+ * Find amount of free heap remaining
*/
extern size_t malloc_free_space(void);
extern void open_dev_console(void);
/**
- * @brief RTEMS Malloc Get Status Information
+ * @brief Get malloc status information.
*
- * Find amount of free heap remaining.
+ * Find amount of free heap remaining.
*/
extern int malloc_info(Heap_Information_block *the_info);
@@ -139,7 +141,7 @@ typedef struct {
/**
* @brief Tasks a snapshot of the resource usage of the system.
*
- * @param[out] snapshot The snapshot of used resources.
+ * @param[out] snapshot will contain snapshot of used resources.
*
* @see rtems_resource_snapshot_equal() and rtems_resource_snapshot_check().
*
@@ -165,8 +167,8 @@ void rtems_resource_snapshot_take(rtems_resource_snapshot *snapshot);
/**
* @brief Compares two resource snapshots for equality.
*
- * @return Returns true if the resource snapshots are equal, and false
- * otherwise.
+ * @retval true The resource snapshots are equal.
+ * @retval false The resource snapshots are not equal.
*
* @see rtems_resource_snapshot_take().
*/
@@ -179,15 +181,18 @@ bool rtems_resource_snapshot_equal(
* @brief Takes a new resource snapshot and checks that it is equal to the
* given snapshot.
*
- * @param[in] snapshot The snapshot used for comparison with the new snapshot.
+ * @param[in] snapshot is a pointer to the snapshot used for comparison
+ * with the new snapshot.
*
- * @return Returns true if the resource snapshots are equal, and false
- * otherwise.
+ * @retval true The resource snapshots are equal.
+ * @retval false The resource snapshots are not equal.
*
* @see rtems_resource_snapshot_take().
*/
bool rtems_resource_snapshot_check(const rtems_resource_snapshot *snapshot);
+/** @} */
+
#ifdef __cplusplus
}
#endif