Changeset d2bfbaf in rtems


Ignore:
Timestamp:
11/16/99 21:56:45 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
18c3155
Parents:
a47e653
Message:

Fixed spacing.

Location:
doc/posix_users
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • doc/posix_users/clock.t

    ra47e653 rd2bfbaf  
    5151
    5252int clock_gettime(
    53   clockid_t clock_id,
     53  clockid_t        clock_id,
    5454  struct timespec *tp
    5555);
     
    8989
    9090int clock_settime(
    91   clockid_t clock_id,
     91  clockid_t              clock_id,
    9292  const struct timespec *tp
    9393);
     
    131131
    132132int clock_getres(
    133   clockid_t clock_id,
     133  clockid_t        clock_id,
    134134  struct timespec *res
    135135);
     
    203203int nanosleep(
    204204  const struct timespec *rqtp,
    205   struct timespec *rmtp
     205  struct timespec       *rmtp
    206206);
    207207@end example
     
    246246
    247247int gettimeofday(
    248   struct timeval *tp,
     248  struct timeval  *tp,
    249249  struct timezone *tzp
    250250);
  • doc/posix_users/cond.t

    ra47e653 rd2bfbaf  
    5858
    5959int pthread_condattr_init(
    60 pthread_condattr_t *attr
     60  pthread_condattr_t *attr
    6161);
    6262@end example
     
    8989
    9090int pthread_condattr_destroy(
    91 pthread_condattr_t *attr
     91  pthread_condattr_t *attr
    9292);
    9393@end example
     
    119119
    120120int pthread_condattr_setpshared(
    121 pthread_condattr_t *attr,
    122 int pshared
     121  pthread_condattr_t *attr,
     122  int                pshared
    123123);
    124124@end example
     
    151151
    152152int pthread_condattr_getpshared(
    153 const pthread_condattr_t *attr,
    154 int *pshared
     153  const pthread_condattr_t *attr,
     154  int                      *pshared
    155155);
    156156@end example
     
    184184
    185185int pthread_cond_init(
    186 pthread_cond_t *cond,
    187 const pthread_condattr_t *attr
     186  pthread_cond_t          *cond,
     187  const pthread_condattr_t *attr
    188188);
    189189@end example
     
    225225
    226226int pthread_cond_destroy(
    227 pthread_cond_t *cond
     227  pthread_cond_t *cond
    228228);
    229229@end example
     
    258258
    259259int pthread_cond_signal(
    260 pthread_cond_t *cond
     260  pthread_cond_t *cond
    261261);
    262262@end example
     
    291291
    292292int pthread_cond_broadcast(
    293 pthread_cond_t *cond
     293  pthread_cond_t *cond
    294294);
    295295@end example
     
    324324
    325325int pthread_cond_wait(
    326 pthread_cond_t *cond,
    327 pthread_mutex_t *mutex
     326  pthread_cond_t *cond,
     327  pthread_mutex_t *mutex
    328328);
    329329@end example
     
    358358
    359359int pthread_cond_timedwait(
    360 pthread_cond_t *cond,
    361 pthread_mutex_t *mutex,
    362 const struct timespec *abstime
     360  pthread_cond_t        *cond,
     361  pthread_mutex_t      *mutex,
     362  const struct timespec *abstime
    363363);
    364364@end example
  • doc/posix_users/device.t

    ra47e653 rd2bfbaf  
    6262
    6363int cfgetispeed(
    64 const struct termios *p
     64  const struct termios *p
    6565);
    6666@end example
     
    105105
    106106int cfgetospeed(
    107 const struct termios *p
     107  const struct termios *p
    108108);
    109109@end example
     
    148148
    149149int cfsetispeed(
    150 struct termios *p,
    151 speed_t speed
     150  struct termios *p,
     151  speed_t        speed
    152152);
    153153@end example
     
    191191
    192192int cfsetospeed(
    193 struct termios *p,
    194 speed_t speed
     193  struct termios *p,
     194  speed_t        speed
    195195);
    196196@end example
     
    239239
    240240int tcgetattr(
    241 int fildes,
    242 struct termios *p
     241  int            fildes,
     242  struct termios *p
    243243);
    244244@end example
     
    285285
    286286int tcsetattr(
    287 int fildes,
    288 int options,
    289 const struct termios *tp
     287  int                  fildes,
     288  int                  options,
     289  const struct termios *tp
    290290);
    291291@end example
     
    321321@example
    322322int tcsendbreak(
     323  int fd
    323324);
    324325@end example
     
    360361
    361362int tcdrain(
    362 int fildes
     363  int fildes
    363364);
    364365@end example
     
    405406@example
    406407int tcflush(
     408  int fd
    407409);
    408410@end example
     
    441443@example
    442444int tcflow(
     445  int fd
    443446);
    444447@end example
  • doc/posix_users/files.t

    ra47e653 rd2bfbaf  
    252252
    253253int scandir(
    254   const char *dir,
     254  const char       *dir,
    255255  struct dirent ***namelist,
    256   int (*select)(const struct dirent *),
    257   int (*compar)(const struct dirent **, const struct dirent **)
     256  int            (*select)(const struct dirent *),
     257  int            (*compar)(const struct dirent **, const struct dirent **)
    258258);
    259259@end example
     
    14211421
    14221422int fstat(
    1423   int fildes,
     1423  int          fildes,
    14241424  struct stat *buf
    14251425);
     
    14981498which follows the link.
    14991499
    1500 The @code{lstat()} routine is defined by BSD 4.3 and SVR4 
     1500The @code{lstat()} routine is defined by BSD 4.3 and SVR4
    15011501and not included in POSIX 1003.1b-1996.
    15021502
  • doc/posix_users/io.t

    ra47e653 rd2bfbaf  
    250250
    251251int read(
    252   int fildes,
    253   void *buf,
    254   unsigned int nbyte
     252  int           fildes,
     253  void         *buf,
     254  unsigned int  nbyte
    255255);
    256256@end example
     
    351351
    352352int write(
    353   int fildes,
    354   const void *buf,
    355   unsigned int nbytes
     353  int           fildes,
     354  const void   *buf,
     355  unsigned int  nbytes
    356356);
    357357@end example
     
    561561
    562562int lseek(
    563   int fildes,
    564   off_t offset,
    565   int whence
     563  int    fildes,
     564  off_t  offset,
     565  int    whence
    566566);
    567567@end example
  • doc/posix_users/message.t

    ra47e653 rd2bfbaf  
    257257
    258258mqd_t mq_open(
    259 const char *name,
    260 int oflag,
    261 mode_t mode,
    262 struct mq_attr *attr
     259  const char    *name,
     260  int            oflag,
     261  mode_t          mode,
     262  struct mq_attr *attr
    263263);
    264264@end example
     
    349349#include <mqueue.h>
    350350
    351 int mq_close(mqd_t mqdes);
     351int mq_close(
     352  mqd_t mqdes
     353);
    352354@end example
    353355
     
    386388#include <mqueue.h>
    387389
    388 int mq_unlink(const char *name);
     390int mq_unlink(
     391  const char *name
     392);
    389393@end example
    390394
     
    426430#include<mqueue.h>
    427431int mq_send(
    428 mqd_t mqdes,
    429 const char *msg_ptr,
    430 size_t msg_len,
    431 unsigned int msg_prio
     432  mqd_t        mqdes,
     433  const char *msg_ptr,
     434  size_t      msg_len,
     435  unsigned int msg_prio
    432436);
    433437@end example
     
    481485
    482486size_t mq_receive(
    483 mqd_t mqdes,
    484 char *msg_ptr,
    485 size_t msg_len,
    486 unsigned int *msg_prio
     487  mqd_t        mqdes,
     488  char        *msg_ptr,
     489  size_t        msg_len,
     490  unsigned int *msg_prio
    487491);
    488492@end example
     
    537541
    538542int mq_notify(
    539 mqd_t mqdes,
    540 const struct sigevent *notification
     543  mqd_t                  mqdes,
     544  const struct sigevent *notification
    541545);
    542546@end example
     
    595599
    596600int mq_setattr(
    597 mqd_t mqdes,
    598 const struct mq_attr *mqstat,
    599 struct mq_attr *omqstat
     601  mqd_t                mqdes,
     602  const struct mq_attr *mqstat,
     603  struct mq_attr      *omqstat
    600604);
    601605@end example
     
    645649@example
    646650#include <mqueue.h>
    647 int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat);
     651int mq_getattr(
     652  mqd_t mqdes,
     653  struct mq_attr *mqstat
     654);
    648655@end example
    649656
  • doc/posix_users/mutex.t

    ra47e653 rd2bfbaf  
    100100
    101101int pthread_mutexattr_init(
    102 pthread_mutexattr_t *attr
     102  pthread_mutexattr_t *attr
    103103);
    104104@end example
     
    137137
    138138int pthread_mutexattr_destroy(
    139 pthread_mutexattr_t *attr
     139  pthread_mutexattr_t *attr
    140140);
    141141@end example
     
    177177
    178178int pthread_mutexattr_setprotocol(
    179 pthread_mutexattr_t *attr,
    180 int protocol
     179  pthread_mutexattr_t *attr,
     180  int                  protocol
    181181);
    182182@end example
     
    239239
    240240int pthread_mutexattr_getprotocol(
    241 pthread_mutexattr_t *attr,
    242 int *protocol
     241  pthread_mutexattr_t *attr,
     242  int                *protocol
    243243);
    244244@end example
     
    283283
    284284int pthread_mutexattr_setprioceiling(
    285 pthread_mutexattr_t *attr,
    286 int prioceiling
     285  pthread_mutexattr_t *attr,
     286  int                  prioceiling
    287287);
    288288@end example
     
    329329
    330330int pthread_mutexattr_getprioceiling(
    331 const pthread_mutexattr_t *attr,
    332 int *prioceiling
     331  const pthread_mutexattr_t *attr,
     332  int                      *prioceiling
    333333);
    334334@end example
     
    374374
    375375int pthread_mutexattr_setpshared(
    376 pthread_mutexattr_t *attr,
    377 int pshared
     376  pthread_mutexattr_t *attr,
     377  int                  pshared
    378378);
    379379@end example
     
    412412
    413413int pthread_mutexattr_getpshared(
    414 const pthread_mutexattr_t *attr,
    415 int *pshared
     414  const pthread_mutexattr_t *attr,
     415  int                      *pshared
    416416);
    417417@end example
     
    450450
    451451int pthread_mutex_init(
    452 pthread_mutex_t *mutex,
    453 const pthread_mutexattr_t *attr
     452  pthread_mutex_t          *mutex,
     453  const pthread_mutexattr_t *attr
    454454);
    455455@end example
     
    495495
    496496int pthread_mutex_destroy(
    497 pthread_mutex_t *mutex
     497  pthread_mutex_t *mutex
    498498);
    499499@end example
     
    530530
    531531int pthread_mutex_lock(
    532 pthread_mutex_t *mutex
     532  pthread_mutex_t *mutex
    533533);
    534534@end example
     
    569569
    570570int pthread_mutex_trylock(
    571 pthread_mutex_t *mutex
     571  pthread_mutex_t *mutex
    572572);
    573573@end example
     
    609609
    610610int pthread_mutex_timedlock(
    611 pthread_mutex_t *mutex,
    612 const struct timespec *timeout
     611  pthread_mutex_t      *mutex,
     612  const struct timespec *timeout
    613613);
    614614@end example
     
    653653
    654654int pthread_mutex_unlock(
    655 pthread_mutex_t *mutex
     655  pthread_mutex_t *mutex
    656656);
    657657@end example
     
    684684
    685685int pthread_mutex_setprioceiling(
    686 pthread_mutex_t *mutex,
    687 int prioceiling,
    688 int *oldceiling
     686  pthread_mutex_t *mutex,
     687  int              prioceiling,
     688  int            *oldceiling
    689689);
    690690@end example
     
    723723
    724724int pthread_mutex_getprioceiling(
    725 pthread_mutex_t *mutex,
    726 int *prioceiling
     725  pthread_mutex_t *mutex,
     726  int            *prioceiling
    727727);
    728728@end example
  • doc/posix_users/procenv.t

    ra47e653 rd2bfbaf  
    566566
    567567clock_t times(
    568 struct tms *buf
     568  struct tms *buf
    569569);
    570570@end example
  • doc/posix_users/process.t

    ra47e653 rd2bfbaf  
    9696@example
    9797int execl(
    98 const char *path,
    99 const char *arg,
    100 ...
     98  const char *path,
     99  const char *arg,
     100  ...
    101101);
    102102@end example
     
    136136@example
    137137int execv(
    138 const char *path,
    139 char const *argv[],
    140 ...
     138  const char *path,
     139  char const *argv[],
     140  ...
    141141);
    142142@end example
     
    176176@example
    177177int execle(
    178 const char *path,
    179 const char *arg,
    180 ...
     178  const char *path,
     179  const char *arg,
     180  ...
    181181);
    182182@end example
     
    216216@example
    217217int execve(
    218 const char *path,
    219 char *const argv[],
    220 char *const envp[]
     218  const char *path,
     219  char *const argv[],
     220  char *const envp[]
    221221);
    222222@end example
     
    256256@example
    257257int execlp(
    258 const char *file,
    259 const char *arg,
    260 ...
     258  const char *file,
     259  const char *arg,
     260  ...
    261261);
    262262@end example
     
    296296@example
    297297int execvp(
    298 const char *file,
    299 char *const argv[]
    300 ...
     298  const char *file,
     299  char *const argv[]
     300  ...
    301301);
    302302@end example
     
    338338
    339339int pthread_atfork(
    340 void (*prepare)(void),
    341 void (*parent)(void),
    342 void (*child)(void)
     340  void (*prepare)(void),
     341  void (*parent)(void),
     342  void (*child)(void)
    343343);
    344344@end example
     
    381381
    382382int wait(
    383 int *stat_loc
     383  int *stat_loc
    384384);
    385385@end example
     
    419419@example
    420420int wait(
    421 pid_t pid,
    422 int *stat_loc,
    423 int options
     421  pid_t pid,
     422  int  *stat_loc,
     423  int    options
    424424);
    425425@end example
     
    459459@example
    460460void _exit(
    461 int status
     461  int status
    462462);
    463463@end example
  • doc/posix_users/semaphores.t

    ra47e653 rd2bfbaf  
    8686@example
    8787int sem_init(
    88 sem_t *sem,
    89 int pshared,
    90 unsigned int value
     88  sem_t        *sem,
     89  int          pshared,
     90  unsigned int value
    9191);
    9292@end example
     
    142142@example
    143143int sem_destroy(
    144 sem_t *sem
     144  sem_t *sem
    145145);
    146146@end example
     
    190190@ifset is-C
    191191@example
    192 int sem_open)
    193 const char *name,
    194 int oflag
     192int sem_open(
     193  const char *name,
     194  int        oflag
    195195);
    196196@end example
     
    270270@example
    271271int sem_close(
    272 sem_t *sem_close
     272  sem_t *sem_close
    273273);
    274274@end example
     
    312312@example
    313313int sem_unlink(
    314 const char *name
     314  const char *name
    315315);
    316316@end example
     
    367367@example
    368368int sem_wait(
    369 sem_t *sem
     369  sem_t *sem
    370370);
    371371@end example
     
    411411@example
    412412int sem_trywait(
    413 sem_t *sem
     413  sem_t *sem
    414414);
    415415@end example
     
    459459@example
    460460int sem_timedwait(
    461 sem_t *sem,
    462 const struct timespec *timeout
     461  sem_t                *sem,
     462  const struct timespec *timeout
    463463);
    464464@end example
     
    511511@example
    512512int sem_post(
    513 sem_t *sem
     513  sem_t *sem
    514514);
    515515@end example
     
    556556@example
    557557int sem_getvalue(
    558 sem_t *sem,
    559 int *sval
     558  sem_t *sem,
     559  int  *sval
    560560);
    561561@end example
  • doc/posix_users/signal.t

    ra47e653 rd2bfbaf  
    9696
    9797int sigaddset(
    98 sigset_t *set,
    99 int signo
     98  sigset_t *set,
     99  int      signo
    100100);
    101101@end example
     
    132132
    133133int sigdelset(
    134 sigset_t *set,
    135 int signo
     134  sigset_t *set,
     135  int      signo
    136136);
    137137@end example
     
    168168
    169169int sigfillset(
    170 sigset_t *set
     170  sigset_t *set
    171171);
    172172@end example
     
    205205
    206206int sigismember(
    207 const sigset_t *set,
    208 int signo
     207  const sigset_t *set,
     208  int            signo
    209209);
    210210@end example
     
    243243
    244244int sigemptyset(
    245 sigset_t *set
     245  sigset_t *set
    246246);
    247247@end example
     
    280280
    281281int sigaction(
    282 int sig,
    283 const struct sigaction *act,
    284 struct sigaction *oact
     282  int                    sig,
     283  const struct sigaction *act,
     284  struct sigaction      *oact
    285285);
    286286@end example
     
    323323
    324324int pthread_kill(
    325 pthread_t thread,
    326 int sig
     325  pthread_t thread,
     326  int      sig
    327327);
    328328@end example
     
    363363
    364364int sigprocmask(
    365 int how,
    366 const sigset_t *set,
    367 sigset_t *oset
     365  int            how,
     366  const sigset_t *set,
     367  sigset_t      *oset
    368368);
    369369@end example
     
    422422
    423423int pthread_sigmask(
    424 int how,
    425 const sigset_t *set,
    426 sigset_t *oset
     424  int            how,
     425  const sigset_t *set,
     426  sigset_t      *oset
    427427);
    428428@end example
     
    480480
    481481int kill(
    482 pid_t pid,
    483 int sig
     482  pid_t pid,
     483  int  sig
    484484);
    485485@end example
     
    521521
    522522int sigpending(
    523 const sigset_t *set
     523  const sigset_t *set
    524524);
    525525@end example
     
    562562
    563563int sigsuspend(
    564 const sigset_t *sigmask
     564  const sigset_t *sigmask
    565565);
    566566@end example
     
    641641
    642642int sigwait(
    643 const sigset_t *set,
    644 int *sig
     643  const sigset_t *set,
     644  int            *sig
    645645);
    646646@end example
     
    682682
    683683int sigwaitinfo(
    684 const sigset_t *set,
    685 siginfo_t *info
     684  const sigset_t *set,
     685  siginfo_t      *info
    686686);
    687687@end example
     
    719719
    720720int sigtimedwait(
    721 const sigset_t *set,
    722 siginfo_t *info,
    723 const struct timespec *timeout
     721  const sigset_t        *set,
     722  siginfo_t            *info,
     723  const struct timespec *timeout
    724724);
    725725@end example
     
    765765
    766766int sigqueue(
    767 pid_t pid,
    768 int signo,
    769 const union sigval value
     767  pid_t              pid,
     768  int                signo,
     769  const union sigval value
    770770);
    771771@end example
     
    817817
    818818unsigned int alarm(
    819 unsigned int seconds
     819  unsigned int seconds
    820820);
    821821@end example
  • doc/posix_users/thread.t

    ra47e653 rd2bfbaf  
    888888
    889889int pthread_create(
    890   pthread_t *thread,
    891   const pthread_attr_t *attr,
    892   void (*start_routine)( void *),
    893   void *arg
     890  pthread_t             *thread,
     891  const pthread_attr_t  *attr,
     892  void                 (*start_routine)( void *),
     893  void                  *arg
    894894);
    895895@end example
Note: See TracChangeset for help on using the changeset viewer.