forked from Imagelibrary/rtems
libcsupport: Doxygen Enhancement Task #3
http://www.google-melange.com/gci/task/view/google/gci2012/7992210
This commit is contained in:
committed by
Gedare Bloom
parent
4c90eb4a43
commit
ceaa99964f
@@ -9,6 +9,11 @@
|
|||||||
#ifndef _RTEMS_RTEMS_ASSOC_H
|
#ifndef _RTEMS_RTEMS_ASSOC_H
|
||||||
#define _RTEMS_RTEMS_ASSOC_H
|
#define _RTEMS_RTEMS_ASSOC_H
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup Associativity Routines
|
||||||
|
*/
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#include <stdint.h> /* uint32_t */
|
#include <stdint.h> /* uint32_t */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
@@ -51,6 +56,10 @@ uint32_t rtems_assoc_remote_by_name(
|
|||||||
const rtems_assoc_t *,
|
const rtems_assoc_t *,
|
||||||
const char *
|
const char *
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief RTEMS Associate Local by Name
|
||||||
|
*/
|
||||||
uint32_t rtems_assoc_local_by_name(
|
uint32_t rtems_assoc_local_by_name(
|
||||||
const rtems_assoc_t *,
|
const rtems_assoc_t *,
|
||||||
const char *
|
const char *
|
||||||
@@ -66,6 +75,9 @@ const char *rtems_assoc_name_by_remote(
|
|||||||
uint32_t
|
uint32_t
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief RTEMS Assoc Routines
|
||||||
|
*/
|
||||||
uint32_t rtems_assoc_remote_by_local_bitfield(
|
uint32_t rtems_assoc_remote_by_local_bitfield(
|
||||||
const rtems_assoc_t *,
|
const rtems_assoc_t *,
|
||||||
uint32_t
|
uint32_t
|
||||||
@@ -111,5 +123,5 @@ const char *rtems_assoc_name_bad(
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
/**@}*/
|
||||||
#endif /* ! _RTEMS_RTEMS_ASSOC_H */
|
#endif /* ! _RTEMS_RTEMS_ASSOC_H */
|
||||||
|
|||||||
@@ -1,3 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* @file rtems/deviceio.h
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* COPYRIGHT (c) 1989-2012.
|
* COPYRIGHT (c) 1989-2012.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
@@ -10,12 +14,25 @@
|
|||||||
#ifndef _RTEMS_DEVICEIO_H
|
#ifndef _RTEMS_DEVICEIO_H
|
||||||
#define _RTEMS_DEVICEIO_H
|
#define _RTEMS_DEVICEIO_H
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup Device IO Handler
|
||||||
|
*/
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#include <rtems/libio.h>
|
#include <rtems/libio.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif /* __cplusplus */
|
#endif /* __cplusplus */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief IMFS Device Node Handlers
|
||||||
|
*
|
||||||
|
* IMFS Device Node Handlers
|
||||||
|
*
|
||||||
|
* This file contains the set of handlers used to map operations on
|
||||||
|
* IMFS device nodes onto calls to the RTEMS Classic API IO Manager.
|
||||||
|
*/
|
||||||
int rtems_deviceio_errno( rtems_status_code status );
|
int rtems_deviceio_errno( rtems_status_code status );
|
||||||
|
|
||||||
int rtems_deviceio_open(
|
int rtems_deviceio_open(
|
||||||
@@ -59,6 +76,8 @@ int rtems_deviceio_control(
|
|||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif /* __cplusplus */
|
#endif
|
||||||
|
/**@}*/
|
||||||
|
/* __cplusplus */
|
||||||
|
|
||||||
#endif /* _RTEMS_DEVICEIO_H */
|
#endif /* _RTEMS_DEVICEIO_H */
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ extern "C" {
|
|||||||
*
|
*
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief File system node types.
|
* @brief File system node types.
|
||||||
|
|||||||
@@ -19,6 +19,11 @@
|
|||||||
#ifndef _RTEMS_RTEMS_LIBIO__H
|
#ifndef _RTEMS_RTEMS_LIBIO__H
|
||||||
#define _RTEMS_RTEMS_LIBIO__H
|
#define _RTEMS_RTEMS_LIBIO__H
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup libio Internal Interface
|
||||||
|
*/
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include <rtems.h>
|
#include <rtems.h>
|
||||||
@@ -536,6 +541,9 @@ int rtems_filesystem_mknod(
|
|||||||
dev_t dev
|
dev_t dev
|
||||||
);
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief POSIX 1003.1b - 5.2.1 - Change Current Working Directory
|
||||||
|
*/
|
||||||
int rtems_filesystem_chdir( rtems_filesystem_location_info_t *loc );
|
int rtems_filesystem_chdir( rtems_filesystem_location_info_t *loc );
|
||||||
|
|
||||||
int rtems_filesystem_chown(
|
int rtems_filesystem_chown(
|
||||||
@@ -803,6 +811,6 @@ static inline bool rtems_filesystem_is_parent_directory(
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
/**@}*/
|
||||||
#endif
|
#endif
|
||||||
/* end of include file */
|
/* end of include file */
|
||||||
|
|||||||
@@ -16,6 +16,11 @@
|
|||||||
#ifndef __POSIX_SYS_UTSNAME_h
|
#ifndef __POSIX_SYS_UTSNAME_h
|
||||||
#define __POSIX_SYS_UTSNAME_h
|
#define __POSIX_SYS_UTSNAME_h
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @defgroup utsname Service
|
||||||
|
*/
|
||||||
|
/**@{*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
@@ -47,10 +52,9 @@ struct utsname {
|
|||||||
/* is running */
|
/* is running */
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/**
|
||||||
* 4.4.1 Get System Name, P1003.1b-1993, p. 90
|
* @brief 4.4.1 Get System Name, P1003.1b-1993, p. 90
|
||||||
*/
|
*/
|
||||||
|
|
||||||
int uname(
|
int uname(
|
||||||
struct utsname *name
|
struct utsname *name
|
||||||
);
|
);
|
||||||
@@ -58,5 +62,6 @@ int uname(
|
|||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
/**@}*/
|
||||||
#endif
|
#endif
|
||||||
/* end of include file */
|
/* end of include file */
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* _realloc_r Implementation
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief _realloc_r Implementation
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2007.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* access() - POSIX 1003.1b 5.6.3 - File Accessibility
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief access() - POSIX 1003.1b 5.6.3 - File Accessibility
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-1999.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief RTEMS Associate Local by Name
|
||||||
|
* @ingroup Associativity Routines
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* assoc.c
|
* COPYRIGHT (c) 1989-2008.
|
||||||
* rtems assoc routines
|
* On-Line Applications Research Corporation (OAR).
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.com/license/LICENSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
|
|||||||
@@ -1,6 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief RTEMS Assoc Routines
|
||||||
|
* @ingroup Associativity Routines
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* assoc.c
|
* COPYRIGHT (c) 1989-2008.
|
||||||
* rtems assoc routines
|
* On-Line Applications Research Corporation (OAR).
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.com/license/LICENSE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* chdir() - POSIX 1003.1b - 5.2.1 - Change Current Working Directory
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief POSIX 1003.1b - 5.2.1 - Change Current Working Directory
|
||||||
|
* @ingroup libio Internal Interface
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-2010.
|
* COPYRIGHT (c) 1989-2010.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief Change Root Directory
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* chroot() - Change Root Directory
|
|
||||||
* Author: fernando.ruiz@ctv.es
|
* Author: fernando.ruiz@ctv.es
|
||||||
*
|
*
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2008.
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* close() - POSIX 1003.1b 6.3.1 - Close a File
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief POSIX 1003.1b 6.3.1 - Close a File
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-1999.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* dup() - POSIX 1003.1b 6.2.1 Duplicate an Open File Descriptor
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief POSIX 1003.1b 6.2.1 Duplicate an Open File Descriptor
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-1999.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* fcntl() - POSIX 1003.1b 6.5.2 - File Control
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief POSIX 1003.1b 6.5.2 - File Control
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-1999.
|
* COPYRIGHT (c) 1989-1999.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* fdatasync() - POSIX 1003.1b 6.6.2 - Synchronize the Data of a File
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief POSIX 1003.1b 6.6.2 - Synchronize the Data of a File
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-2011.
|
* COPYRIGHT (c) 1989-2011.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* calloc()
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief calloc()
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2007.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief Get Current Working Directory
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1989, 1991 The Regents of the University of California.
|
* Copyright (c) 1989, 1991 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* ioctl() system call
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief ioctl() system call
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* This routine is not defined in the POSIX 1003.1b standard but is
|
* This routine is not defined in the POSIX 1003.1b standard but is
|
||||||
* commonly supported on most UNIX and POSIX systems.
|
* commonly supported on most UNIX and POSIX systems.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,4 +1,9 @@
|
|||||||
/*
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief Kill No POSIX
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*
|
||||||
* Marginal implementations of some POSIX API routines
|
* Marginal implementations of some POSIX API routines
|
||||||
* to be used when POSIX is disabled.
|
* to be used when POSIX is disabled.
|
||||||
*
|
*
|
||||||
@@ -6,7 +11,9 @@
|
|||||||
* + _kill_r
|
* + _kill_r
|
||||||
* + __kill
|
* + __kill
|
||||||
* + sleep
|
* + sleep
|
||||||
*
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* The license and distribution terms for this file may be
|
* The license and distribution terms for this file may be
|
||||||
* found in the file LICENSE in this distribution or at
|
* found in the file LICENSE in this distribution or at
|
||||||
* http://www.rtems.com/license/LICENSE.
|
* http://www.rtems.com/license/LICENSE.
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* posix_memalign()
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief Update call statistics
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2008.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief Get Real User, Effective User, Ral Group, and Effective Group IDs
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* COPYRIGHT (c) 1989-2007.
|
||||||
|
* On-Line Applications Research Corporation (OAR).
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.com/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,9 +1,14 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief IMFS Device Node Handlers
|
||||||
|
* @ingroup Device IO Handler
|
||||||
|
*
|
||||||
|
* This file contains the set of handlers used to map operations on
|
||||||
|
* IMFS device nodes onto calls to the RTEMS Classic API IO Manager.
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* IMFS Device Node Handlers
|
|
||||||
*
|
|
||||||
* This file contains the set of handlers used to map operations on
|
|
||||||
* IMFS device nodes onto calls to the RTEMS Classic API IO Manager.
|
|
||||||
*
|
|
||||||
* COPYRIGHT (c) 1989-2008.
|
* COPYRIGHT (c) 1989-2008.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,3 +1,10 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief Mount table entry visitor.
|
||||||
|
* @ingroup Termios Termios
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2012 embedded brains GmbH. All rights reserved.
|
* Copyright (c) 2012 embedded brains GmbH. All rights reserved.
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
|
/**
|
||||||
|
* @file
|
||||||
|
*
|
||||||
|
* @brief Get System Name
|
||||||
|
* @ingroup utsname Service
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* COPYRIGHT (c) 1989-1999.
|
||||||
|
* On-Line Applications Research Corporation (OAR).
|
||||||
|
*
|
||||||
|
* The license and distribution terms for this file may be
|
||||||
|
* found in the file LICENSE in this distribution or at
|
||||||
|
* http://www.rtems.com/license/LICENSE.
|
||||||
|
*/
|
||||||
|
|
||||||
#if HAVE_CONFIG_H
|
#if HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -1,6 +1,11 @@
|
|||||||
/*
|
/**
|
||||||
* write_r() - POSIX 1003.1b 6.4.2 - Write to a File
|
* @file
|
||||||
*
|
*
|
||||||
|
* @brief POSIX 1003.1b 6.4.2 - Write to a File
|
||||||
|
* @ingroup libcsupport
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
* COPYRIGHT (c) 1989-2007.
|
* COPYRIGHT (c) 1989-2007.
|
||||||
* On-Line Applications Research Corporation (OAR).
|
* On-Line Applications Research Corporation (OAR).
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user