Fixed spacing.

This commit is contained in:
Joel Sherrill
1999-11-16 21:56:45 +00:00
parent a47e653a2c
commit d2bfbaf2b1
12 changed files with 185 additions and 175 deletions

View File

@@ -57,7 +57,7 @@ and status codes.
#include <pthread.h> #include <pthread.h>
int pthread_condattr_init( int pthread_condattr_init(
pthread_condattr_t *attr pthread_condattr_t *attr
); );
@end example @end example
@@ -88,7 +88,7 @@ attributes object.
#include <pthread.h> #include <pthread.h>
int pthread_condattr_destroy( int pthread_condattr_destroy(
pthread_condattr_t *attr pthread_condattr_t *attr
); );
@end example @end example
@@ -118,8 +118,8 @@ The attribute object specified is invalid.
#include <pthread.h> #include <pthread.h>
int pthread_condattr_setpshared( int pthread_condattr_setpshared(
pthread_condattr_t *attr, pthread_condattr_t *attr,
int pshared int pshared
); );
@end example @end example
@@ -150,8 +150,8 @@ Invalid argument passed.
#include <pthread.h> #include <pthread.h>
int pthread_condattr_getpshared( int pthread_condattr_getpshared(
const pthread_condattr_t *attr, const pthread_condattr_t *attr,
int *pshared int *pshared
); );
@end example @end example
@@ -183,8 +183,8 @@ Invalid argument passed.
#include <pthread.h> #include <pthread.h>
int pthread_cond_init( int pthread_cond_init(
pthread_cond_t *cond, pthread_cond_t *cond,
const pthread_condattr_t *attr const pthread_condattr_t *attr
); );
@end example @end example
@@ -224,7 +224,7 @@ The specified attribute value is invalid.
#include <pthread.h> #include <pthread.h>
int pthread_cond_destroy( int pthread_cond_destroy(
pthread_cond_t *cond pthread_cond_t *cond
); );
@end example @end example
@@ -257,7 +257,7 @@ The specified condition variable is currently in use.
#include <pthread.h> #include <pthread.h>
int pthread_cond_signal( int pthread_cond_signal(
pthread_cond_t *cond pthread_cond_t *cond
); );
@end example @end example
@@ -290,7 +290,7 @@ handler or an interrupt service routine.
#include <pthread.h> #include <pthread.h>
int pthread_cond_broadcast( int pthread_cond_broadcast(
pthread_cond_t *cond pthread_cond_t *cond
); );
@end example @end example
@@ -323,8 +323,8 @@ handler or an interrupt service routine.
#include <pthread.h> #include <pthread.h>
int pthread_cond_wait( int pthread_cond_wait(
pthread_cond_t *cond, pthread_cond_t *cond,
pthread_mutex_t *mutex pthread_mutex_t *mutex
); );
@end example @end example
@@ -357,9 +357,9 @@ the mutex was not owned by the current thread at the time of the call.
#include <pthread.h> #include <pthread.h>
int pthread_cond_timedwait( int pthread_cond_timedwait(
pthread_cond_t *cond, pthread_cond_t *cond,
pthread_mutex_t *mutex, pthread_mutex_t *mutex,
const struct timespec *abstime const struct timespec *abstime
); );
@end example @end example

View File

@@ -61,7 +61,7 @@ and status codes.
#include <termios.h> #include <termios.h>
int cfgetispeed( int cfgetispeed(
const struct termios *p const struct termios *p
); );
@end example @end example
@end ifset @end ifset
@@ -104,7 +104,7 @@ number returned for any given speed may change from system to system.
#include <termios.h> #include <termios.h>
int cfgetospeed( int cfgetospeed(
const struct termios *p const struct termios *p
); );
@end example @end example
@end ifset @end ifset
@@ -147,8 +147,8 @@ number returned for any given speed may change from system to system.
#include <termios.h> #include <termios.h>
int cfsetispeed( int cfsetispeed(
struct termios *p, struct termios *p,
speed_t speed speed_t speed
); );
@end example @end example
@end ifset @end ifset
@@ -190,8 +190,8 @@ It does not detect impossible terminal speeds.
#include <termios.h> #include <termios.h>
int cfsetospeed( int cfsetospeed(
struct termios *p, struct termios *p,
speed_t speed speed_t speed
); );
@end example @end example
@end ifset @end ifset
@@ -238,8 +238,8 @@ It does not detect impossible terminal speeds.
#include <unistd.h> #include <unistd.h>
int tcgetattr( int tcgetattr(
int fildes, int fildes,
struct termios *p struct termios *p
); );
@end example @end example
@end ifset @end ifset
@@ -284,9 +284,9 @@ NONE
#include <unistd.h> #include <unistd.h>
int tcsetattr( int tcsetattr(
int fildes, int fildes,
int options, int options,
const struct termios *tp const struct termios *tp
); );
@end example @end example
@end ifset @end ifset
@@ -320,6 +320,7 @@ The
@ifset is-C @ifset is-C
@example @example
int tcsendbreak( int tcsendbreak(
int fd
); );
@end example @end example
@end ifset @end ifset
@@ -359,7 +360,7 @@ in a future version.
#include <unistd.h> #include <unistd.h>
int tcdrain( int tcdrain(
int fildes int fildes
); );
@end example @end example
@end ifset @end ifset
@@ -404,6 +405,7 @@ NONE
@ifset is-C @ifset is-C
@example @example
int tcflush( int tcflush(
int fd
); );
@end example @end example
@end ifset @end ifset
@@ -440,6 +442,7 @@ in a future version.
@ifset is-C @ifset is-C
@example @example
int tcflow( int tcflow(
int fd
); );
@end example @end example
@end ifset @end ifset

View File

@@ -256,10 +256,10 @@ the calling sequence, related constants, usage, and status codes.
#include <mqueue.h> #include <mqueue.h>
mqd_t mq_open( mqd_t mq_open(
const char *name, const char *name,
int oflag, int oflag,
mode_t mode, mode_t mode,
struct mq_attr *attr struct mq_attr *attr
); );
@end example @end example
@@ -348,7 +348,9 @@ attribute structure is not used.
@example @example
#include <mqueue.h> #include <mqueue.h>
int mq_close(mqd_t mqdes); int mq_close(
mqd_t mqdes
);
@end example @end example
@subheading STATUS CODES: @subheading STATUS CODES:
@@ -385,7 +387,9 @@ messages that were in the queue remain in the queue.
@example @example
#include <mqueue.h> #include <mqueue.h>
int mq_unlink(const char *name); int mq_unlink(
const char *name
);
@end example @end example
@subheading STATUS CODES: @subheading STATUS CODES:
@@ -425,10 +429,10 @@ block until all references have been closed; it may return immediately.
@example @example
#include<mqueue.h> #include<mqueue.h>
int mq_send( int mq_send(
mqd_t mqdes, mqd_t mqdes,
const char *msg_ptr, const char *msg_ptr,
size_t msg_len, size_t msg_len,
unsigned int msg_prio unsigned int msg_prio
); );
@end example @end example
@@ -480,10 +484,10 @@ the position indicated by the msg_prio argument.
#include <mqueue.h> #include <mqueue.h>
size_t mq_receive( size_t mq_receive(
mqd_t mqdes, mqd_t mqdes,
char *msg_ptr, char *msg_ptr,
size_t msg_len, size_t msg_len,
unsigned int *msg_prio unsigned int *msg_prio
); );
@end example @end example
@@ -536,8 +540,8 @@ fails and returns an error
#include <mqueue.h> #include <mqueue.h>
int mq_notify( int mq_notify(
mqd_t mqdes, mqd_t mqdes,
const struct sigevent *notification const struct sigevent *notification
); );
@end example @end example
@@ -594,9 +598,9 @@ It is possible for another process to receive the message after the notification
#include <mqueue.h> #include <mqueue.h>
int mq_setattr( int mq_setattr(
mqd_t mqdes, mqd_t mqdes,
const struct mq_attr *mqstat, const struct mq_attr *mqstat,
struct mq_attr *omqstat struct mq_attr *omqstat
); );
@end example @end example
@@ -644,7 +648,10 @@ All other fields in the mq_attr are ignored by this call.
@example @example
#include <mqueue.h> #include <mqueue.h>
int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); int mq_getattr(
mqd_t mqdes,
struct mq_attr *mqstat
);
@end example @end example
@subheading STATUS CODES: @subheading STATUS CODES:

View File

@@ -99,7 +99,7 @@ and status codes.
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_init( int pthread_mutexattr_init(
pthread_mutexattr_t *attr pthread_mutexattr_t *attr
); );
@end example @end example
@@ -136,7 +136,7 @@ XXX insert list of default attributes here.
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_destroy( int pthread_mutexattr_destroy(
pthread_mutexattr_t *attr pthread_mutexattr_t *attr
); );
@end example @end example
@@ -176,8 +176,8 @@ NONE
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_setprotocol( int pthread_mutexattr_setprotocol(
pthread_mutexattr_t *attr, pthread_mutexattr_t *attr,
int protocol int protocol
); );
@end example @end example
@@ -238,8 +238,8 @@ with POSIX mutexes even though this could easily by supported by RTEMS.
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_getprotocol( int pthread_mutexattr_getprotocol(
pthread_mutexattr_t *attr, pthread_mutexattr_t *attr,
int *protocol int *protocol
); );
@end example @end example
@@ -282,8 +282,8 @@ NONE
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_setprioceiling( int pthread_mutexattr_setprioceiling(
pthread_mutexattr_t *attr, pthread_mutexattr_t *attr,
int prioceiling int prioceiling
); );
@end example @end example
@@ -328,8 +328,8 @@ NONE
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_getprioceiling( int pthread_mutexattr_getprioceiling(
const pthread_mutexattr_t *attr, const pthread_mutexattr_t *attr,
int *prioceiling int *prioceiling
); );
@end example @end example
@@ -373,8 +373,8 @@ NONE
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_setpshared( int pthread_mutexattr_setpshared(
pthread_mutexattr_t *attr, pthread_mutexattr_t *attr,
int pshared int pshared
); );
@end example @end example
@@ -411,8 +411,8 @@ The pshared argument is invalid.
#include <pthread.h> #include <pthread.h>
int pthread_mutexattr_getpshared( int pthread_mutexattr_getpshared(
const pthread_mutexattr_t *attr, const pthread_mutexattr_t *attr,
int *pshared int *pshared
); );
@end example @end example
@@ -449,8 +449,8 @@ The pshared pointer argument is invalid.
#include <pthread.h> #include <pthread.h>
int pthread_mutex_init( int pthread_mutex_init(
pthread_mutex_t *mutex, pthread_mutex_t *mutex,
const pthread_mutexattr_t *attr const pthread_mutexattr_t *attr
); );
@end example @end example
@@ -494,7 +494,7 @@ initialized, but not yet destroyed.
#include <pthread.h> #include <pthread.h>
int pthread_mutex_destroy( int pthread_mutex_destroy(
pthread_mutex_t *mutex pthread_mutex_t *mutex
); );
@end example @end example
@@ -529,7 +529,7 @@ referenced by another thread.
#include <pthread.h> #include <pthread.h>
int pthread_mutex_lock( int pthread_mutex_lock(
pthread_mutex_t *mutex pthread_mutex_t *mutex
); );
@end example @end example
@@ -568,7 +568,7 @@ The current thread already owns the mutex.
#include <pthread.h> #include <pthread.h>
int pthread_mutex_trylock( int pthread_mutex_trylock(
pthread_mutex_t *mutex pthread_mutex_t *mutex
); );
@end example @end example
@@ -608,8 +608,8 @@ The current thread already owns the mutex.
#include <time.h> #include <time.h>
int pthread_mutex_timedlock( int pthread_mutex_timedlock(
pthread_mutex_t *mutex, pthread_mutex_t *mutex,
const struct timespec *timeout const struct timespec *timeout
); );
@end example @end example
@@ -652,7 +652,7 @@ The current thread already owns the mutex.
#include <pthread.h> #include <pthread.h>
int pthread_mutex_unlock( int pthread_mutex_unlock(
pthread_mutex_t *mutex pthread_mutex_t *mutex
); );
@end example @end example
@@ -683,9 +683,9 @@ The specified mutex is invalid.
#include <pthread.h> #include <pthread.h>
int pthread_mutex_setprioceiling( int pthread_mutex_setprioceiling(
pthread_mutex_t *mutex, pthread_mutex_t *mutex,
int prioceiling, int prioceiling,
int *oldceiling int *oldceiling
); );
@end example @end example
@@ -722,8 +722,8 @@ The specified mutex is invalid.
#include <pthread.h> #include <pthread.h>
int pthread_mutex_getprioceiling( int pthread_mutex_getprioceiling(
pthread_mutex_t *mutex, pthread_mutex_t *mutex,
int *prioceiling int *prioceiling
); );
@end example @end example

View File

@@ -565,7 +565,7 @@ The
#include <sys/time.h> #include <sys/time.h>
clock_t times( clock_t times(
struct tms *buf struct tms *buf
); );
@end example @end example

View File

@@ -95,9 +95,9 @@ NONE
@ifset is-C @ifset is-C
@example @example
int execl( int execl(
const char *path, const char *path,
const char *arg, const char *arg,
... ...
); );
@end example @end example
@end ifset @end ifset
@@ -135,9 +135,9 @@ NONE
@ifset is-C @ifset is-C
@example @example
int execv( int execv(
const char *path, const char *path,
char const *argv[], char const *argv[],
... ...
); );
@end example @end example
@end ifset @end ifset
@@ -175,9 +175,9 @@ NONE
@ifset is-C @ifset is-C
@example @example
int execle( int execle(
const char *path, const char *path,
const char *arg, const char *arg,
... ...
); );
@end example @end example
@end ifset @end ifset
@@ -215,9 +215,9 @@ NONE
@ifset is-C @ifset is-C
@example @example
int execve( int execve(
const char *path, const char *path,
char *const argv[], char *const argv[],
char *const envp[] char *const envp[]
); );
@end example @end example
@end ifset @end ifset
@@ -255,9 +255,9 @@ NONE
@ifset is-C @ifset is-C
@example @example
int execlp( int execlp(
const char *file, const char *file,
const char *arg, const char *arg,
... ...
); );
@end example @end example
@end ifset @end ifset
@@ -295,9 +295,9 @@ NONE
@ifset is-C @ifset is-C
@example @example
int execvp( int execvp(
const char *file, const char *file,
char *const argv[] char *const argv[]
... ...
); );
@end example @end example
@end ifset @end ifset
@@ -337,9 +337,9 @@ NONE
#include <sys/types.h> #include <sys/types.h>
int pthread_atfork( int pthread_atfork(
void (*prepare)(void), void (*prepare)(void),
void (*parent)(void), void (*parent)(void),
void (*child)(void) void (*child)(void)
); );
@end example @end example
@end ifset @end ifset
@@ -380,7 +380,7 @@ NONE
#include <sys/wait.h> #include <sys/wait.h>
int wait( int wait(
int *stat_loc int *stat_loc
); );
@end example @end example
@end ifset @end ifset
@@ -418,9 +418,9 @@ NONE
@ifset is-C @ifset is-C
@example @example
int wait( int wait(
pid_t pid, pid_t pid,
int *stat_loc, int *stat_loc,
int options int options
); );
@end example @end example
@end ifset @end ifset
@@ -458,7 +458,7 @@ NONE
@ifset is-C @ifset is-C
@example @example
void _exit( void _exit(
int status int status
); );
@end example @end example
@end ifset @end ifset

View File

@@ -85,9 +85,9 @@ and status codes.
@ifset is-C @ifset is-C
@example @example
int sem_init( int sem_init(
sem_t *sem, sem_t *sem,
int pshared, int pshared,
unsigned int value unsigned int value
); );
@end example @end example
@end ifset @end ifset
@@ -141,7 +141,7 @@ Multiprocessing is currently not supported in this implementation.
@ifset is-C @ifset is-C
@example @example
int sem_destroy( int sem_destroy(
sem_t *sem sem_t *sem
); );
@end example @end example
@end ifset @end ifset
@@ -189,9 +189,9 @@ Multiprocessing is currently not supported in this implementation.
@ifset is-C @ifset is-C
@example @example
int sem_open) int sem_open(
const char *name, const char *name,
int oflag int oflag
); );
@end example @end example
@end ifset @end ifset
@@ -269,7 +269,7 @@ determining if the semaphore is created or accessed by a call to sem_open().
@ifset is-C @ifset is-C
@example @example
int sem_close( int sem_close(
sem_t *sem_close sem_t *sem_close
); );
@end example @end example
@end ifset @end ifset
@@ -311,7 +311,7 @@ return and errno is set.
@ifset is-C @ifset is-C
@example @example
int sem_unlink( int sem_unlink(
const char *name const char *name
); );
@end example @end example
@end ifset @end ifset
@@ -366,7 +366,7 @@ is returned and the errno is set.
@ifset is-C @ifset is-C
@example @example
int sem_wait( int sem_wait(
sem_t *sem sem_t *sem
); );
@end example @end example
@end ifset @end ifset
@@ -410,7 +410,7 @@ Multiprocessing is not supported in this implementation.
@ifset is-C @ifset is-C
@example @example
int sem_trywait( int sem_trywait(
sem_t *sem sem_t *sem
); );
@end example @end example
@end ifset @end ifset
@@ -458,8 +458,8 @@ Multiprocessing is not supported in this implementation.
@ifset is-C @ifset is-C
@example @example
int sem_timedwait( int sem_timedwait(
sem_t *sem, sem_t *sem,
const struct timespec *timeout const struct timespec *timeout
); );
@end example @end example
@end ifset @end ifset
@@ -510,7 +510,7 @@ Multiprocessing is not supported in this implementation.
@ifset is-C @ifset is-C
@example @example
int sem_post( int sem_post(
sem_t *sem sem_t *sem
); );
@end example @end example
@end ifset @end ifset
@@ -555,8 +555,8 @@ Multiprocessing is not supported in this implementation.
@ifset is-C @ifset is-C
@example @example
int sem_getvalue( int sem_getvalue(
sem_t *sem, sem_t *sem,
int *sval int *sval
); );
@end example @end example
@end ifset @end ifset

View File

@@ -95,8 +95,8 @@ and status codes.
#include <signal.h> #include <signal.h>
int sigaddset( int sigaddset(
sigset_t *set, sigset_t *set,
int signo int signo
); );
@end example @end example
@@ -131,8 +131,8 @@ NONE
#include <signal.h> #include <signal.h>
int sigdelset( int sigdelset(
sigset_t *set, sigset_t *set,
int signo int signo
); );
@end example @end example
@@ -167,7 +167,7 @@ NONE
#include <signal.h> #include <signal.h>
int sigfillset( int sigfillset(
sigset_t *set sigset_t *set
); );
@end example @end example
@@ -204,8 +204,8 @@ NONE
#include <signal.h> #include <signal.h>
int sigismember( int sigismember(
const sigset_t *set, const sigset_t *set,
int signo int signo
); );
@end example @end example
@@ -242,7 +242,7 @@ NONE
#include <signal.h> #include <signal.h>
int sigemptyset( int sigemptyset(
sigset_t *set sigset_t *set
); );
@end example @end example
@@ -279,9 +279,9 @@ NONE
#include <signal.h> #include <signal.h>
int sigaction( int sigaction(
int sig, int sig,
const struct sigaction *act, const struct sigaction *act,
struct sigaction *oact struct sigaction *oact
); );
@end example @end example
@@ -322,8 +322,8 @@ The signal number cannot be SIGKILL.
#include <signal.h> #include <signal.h>
int pthread_kill( int pthread_kill(
pthread_t thread, pthread_t thread,
int sig int sig
); );
@end example @end example
@@ -362,9 +362,9 @@ NONE
#include <signal.h> #include <signal.h>
int sigprocmask( int sigprocmask(
int how, int how,
const sigset_t *set, const sigset_t *set,
sigset_t *oset sigset_t *oset
); );
@end example @end example
@@ -421,9 +421,9 @@ It is not an error to unblock a signal which is not blocked.
#include <signal.h> #include <signal.h>
int pthread_sigmask( int pthread_sigmask(
int how, int how,
const sigset_t *set, const sigset_t *set,
sigset_t *oset sigset_t *oset
); );
@end example @end example
@@ -479,8 +479,8 @@ It is not an error to unblock a signal which is not blocked.
#include <signal.h> #include <signal.h>
int kill( int kill(
pid_t pid, pid_t pid,
int sig int sig
); );
@end example @end example
@@ -520,7 +520,7 @@ NONE
#include <signal.h> #include <signal.h>
int sigpending( int sigpending(
const sigset_t *set const sigset_t *set
); );
@end example @end example
@@ -561,7 +561,7 @@ NONE
#include <signal.h> #include <signal.h>
int sigsuspend( int sigsuspend(
const sigset_t *sigmask const sigset_t *sigmask
); );
@end example @end example
@@ -640,8 +640,8 @@ NONE
#include <signal.h> #include <signal.h>
int sigwait( int sigwait(
const sigset_t *set, const sigset_t *set,
int *sig int *sig
); );
@end example @end example
@@ -681,8 +681,8 @@ NONE
#include <signal.h> #include <signal.h>
int sigwaitinfo( int sigwaitinfo(
const sigset_t *set, const sigset_t *set,
siginfo_t *info siginfo_t *info
); );
@end example @end example
@@ -718,9 +718,9 @@ NONE
#include <signal.h> #include <signal.h>
int sigtimedwait( int sigtimedwait(
const sigset_t *set, const sigset_t *set,
siginfo_t *info, siginfo_t *info,
const struct timespec *timeout const struct timespec *timeout
); );
@end example @end example
@@ -764,9 +764,9 @@ the specified signal set.
#include <signal.h> #include <signal.h>
int sigqueue( int sigqueue(
pid_t pid, pid_t pid,
int signo, int signo,
const union sigval value const union sigval value
); );
@end example @end example
@@ -816,7 +816,7 @@ NONE
#include <signal.h> #include <signal.h>
unsigned int alarm( unsigned int alarm(
unsigned int seconds unsigned int seconds
); );
@end example @end example