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

@@ -50,7 +50,7 @@ and status codes.
#include <time.h>
int clock_gettime(
clockid_t clock_id,
clockid_t clock_id,
struct timespec *tp
);
@end example
@@ -88,7 +88,7 @@ NONE
#include <time.h>
int clock_settime(
clockid_t clock_id,
clockid_t clock_id,
const struct timespec *tp
);
@end example
@@ -130,7 +130,7 @@ NONE
#include <time.h>
int clock_getres(
clockid_t clock_id,
clockid_t clock_id,
struct timespec *res
);
@end example
@@ -202,7 +202,7 @@ This call is interruptible by a signal.
int nanosleep(
const struct timespec *rqtp,
struct timespec *rmtp
struct timespec *rmtp
);
@end example
@@ -245,7 +245,7 @@ This call is interruptible by a signal.
#include <unistd.h>
int gettimeofday(
struct timeval *tp,
struct timeval *tp,
struct timezone *tzp
);
@end example

View File

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

View File

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

View File

@@ -251,10 +251,10 @@ The routine is implemented in Cygnus newlib.
#include <dirent.h>
int scandir(
const char *dir,
const char *dir,
struct dirent ***namelist,
int (*select)(const struct dirent *),
int (*compar)(const struct dirent **, const struct dirent **)
int (*select)(const struct dirent *),
int (*compar)(const struct dirent **, const struct dirent **)
);
@end example
@end ifset
@@ -1420,7 +1420,7 @@ NONE
#include <sys/stat.h>
int fstat(
int fildes,
int fildes,
struct stat *buf
);
@end example
@@ -1497,7 +1497,7 @@ link, then the information returned in @code{buf} refers
to the link itself. This is in contrast to @code{fstat()}
which follows the link.
The @code{lstat()} routine is defined by BSD 4.3 and SVR4
The @code{lstat()} routine is defined by BSD 4.3 and SVR4
and not included in POSIX 1003.1b-1996.
@c

View File

@@ -249,9 +249,9 @@ may or may not be closed.
#include <unistd.h>
int read(
int fildes,
void *buf,
unsigned int nbyte
int fildes,
void *buf,
unsigned int nbyte
);
@end example
@end ifset
@@ -350,9 +350,9 @@ NONE
#include <unistd.h>
int write(
int fildes,
const void *buf,
unsigned int nbytes
int fildes,
const void *buf,
unsigned int nbytes
);
@end example
@end ifset
@@ -560,9 +560,9 @@ The errors returned by @code{dup2} are different from those returned by
#include <unistd.h>
int lseek(
int fildes,
off_t offset,
int whence
int fildes,
off_t offset,
int whence
);
@end example
@end ifset

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -887,10 +887,10 @@ family of routines to which this routine belongs is supported.
#include <pthread.h>
int pthread_create(
pthread_t *thread,
const pthread_attr_t *attr,
void (*start_routine)( void *),
void *arg
pthread_t *thread,
const pthread_attr_t *attr,
void (*start_routine)( void *),
void *arg
);
@end example