Changeset d2bfbaf in rtems
- Timestamp:
- 11/16/99 21:56:45 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 18c3155
- Parents:
- a47e653
- Location:
- doc/posix_users
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/posix_users/clock.t
ra47e653 rd2bfbaf 51 51 52 52 int clock_gettime( 53 clockid_t clock_id,53 clockid_t clock_id, 54 54 struct timespec *tp 55 55 ); … … 89 89 90 90 int clock_settime( 91 clockid_t clock_id,91 clockid_t clock_id, 92 92 const struct timespec *tp 93 93 ); … … 131 131 132 132 int clock_getres( 133 clockid_t clock_id,133 clockid_t clock_id, 134 134 struct timespec *res 135 135 ); … … 203 203 int nanosleep( 204 204 const struct timespec *rqtp, 205 struct timespec *rmtp205 struct timespec *rmtp 206 206 ); 207 207 @end example … … 246 246 247 247 int gettimeofday( 248 struct timeval *tp,248 struct timeval *tp, 249 249 struct timezone *tzp 250 250 ); -
doc/posix_users/cond.t
ra47e653 rd2bfbaf 58 58 59 59 int pthread_condattr_init( 60 pthread_condattr_t *attr60 pthread_condattr_t *attr 61 61 ); 62 62 @end example … … 89 89 90 90 int pthread_condattr_destroy( 91 pthread_condattr_t *attr91 pthread_condattr_t *attr 92 92 ); 93 93 @end example … … 119 119 120 120 int pthread_condattr_setpshared( 121 pthread_condattr_t *attr,122 intpshared121 pthread_condattr_t *attr, 122 int pshared 123 123 ); 124 124 @end example … … 151 151 152 152 int pthread_condattr_getpshared( 153 const pthread_condattr_t *attr,154 int*pshared153 const pthread_condattr_t *attr, 154 int *pshared 155 155 ); 156 156 @end example … … 184 184 185 185 int pthread_cond_init( 186 pthread_cond_t*cond,187 const pthread_condattr_t *attr186 pthread_cond_t *cond, 187 const pthread_condattr_t *attr 188 188 ); 189 189 @end example … … 225 225 226 226 int pthread_cond_destroy( 227 pthread_cond_t *cond227 pthread_cond_t *cond 228 228 ); 229 229 @end example … … 258 258 259 259 int pthread_cond_signal( 260 pthread_cond_t *cond260 pthread_cond_t *cond 261 261 ); 262 262 @end example … … 291 291 292 292 int pthread_cond_broadcast( 293 pthread_cond_t *cond293 pthread_cond_t *cond 294 294 ); 295 295 @end example … … 324 324 325 325 int pthread_cond_wait( 326 pthread_cond_t *cond,327 pthread_mutex_t *mutex326 pthread_cond_t *cond, 327 pthread_mutex_t *mutex 328 328 ); 329 329 @end example … … 358 358 359 359 int pthread_cond_timedwait( 360 pthread_cond_t*cond,361 pthread_mutex_t*mutex,362 const struct timespec *abstime360 pthread_cond_t *cond, 361 pthread_mutex_t *mutex, 362 const struct timespec *abstime 363 363 ); 364 364 @end example -
doc/posix_users/device.t
ra47e653 rd2bfbaf 62 62 63 63 int cfgetispeed( 64 const struct termios *p64 const struct termios *p 65 65 ); 66 66 @end example … … 105 105 106 106 int cfgetospeed( 107 const struct termios *p107 const struct termios *p 108 108 ); 109 109 @end example … … 148 148 149 149 int cfsetispeed( 150 struct termios *p,151 speed_tspeed150 struct termios *p, 151 speed_t speed 152 152 ); 153 153 @end example … … 191 191 192 192 int cfsetospeed( 193 struct termios *p,194 speed_tspeed193 struct termios *p, 194 speed_t speed 195 195 ); 196 196 @end example … … 239 239 240 240 int tcgetattr( 241 intfildes,242 struct termios *p241 int fildes, 242 struct termios *p 243 243 ); 244 244 @end example … … 285 285 286 286 int tcsetattr( 287 intfildes,288 intoptions,289 const struct termios *tp287 int fildes, 288 int options, 289 const struct termios *tp 290 290 ); 291 291 @end example … … 321 321 @example 322 322 int tcsendbreak( 323 int fd 323 324 ); 324 325 @end example … … 360 361 361 362 int tcdrain( 362 int fildes363 int fildes 363 364 ); 364 365 @end example … … 405 406 @example 406 407 int tcflush( 408 int fd 407 409 ); 408 410 @end example … … 441 443 @example 442 444 int tcflow( 445 int fd 443 446 ); 444 447 @end example -
doc/posix_users/files.t
ra47e653 rd2bfbaf 252 252 253 253 int scandir( 254 const char *dir,254 const char *dir, 255 255 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 **) 258 258 ); 259 259 @end example … … 1421 1421 1422 1422 int fstat( 1423 int fildes,1423 int fildes, 1424 1424 struct stat *buf 1425 1425 ); … … 1498 1498 which follows the link. 1499 1499 1500 The @code{lstat()} routine is defined by BSD 4.3 and SVR4 1500 The @code{lstat()} routine is defined by BSD 4.3 and SVR4 1501 1501 and not included in POSIX 1003.1b-1996. 1502 1502 -
doc/posix_users/io.t
ra47e653 rd2bfbaf 250 250 251 251 int read( 252 int fildes,253 void *buf,254 unsigned int nbyte252 int fildes, 253 void *buf, 254 unsigned int nbyte 255 255 ); 256 256 @end example … … 351 351 352 352 int write( 353 int fildes,354 const void *buf,355 unsigned int nbytes353 int fildes, 354 const void *buf, 355 unsigned int nbytes 356 356 ); 357 357 @end example … … 561 561 562 562 int lseek( 563 int fildes,564 off_t offset,565 int whence563 int fildes, 564 off_t offset, 565 int whence 566 566 ); 567 567 @end example -
doc/posix_users/message.t
ra47e653 rd2bfbaf 257 257 258 258 mqd_t mq_open( 259 const char*name,260 intoflag,261 mode_tmode,262 struct mq_attr *attr259 const char *name, 260 int oflag, 261 mode_t mode, 262 struct mq_attr *attr 263 263 ); 264 264 @end example … … 349 349 #include <mqueue.h> 350 350 351 int mq_close(mqd_t mqdes); 351 int mq_close( 352 mqd_t mqdes 353 ); 352 354 @end example 353 355 … … 386 388 #include <mqueue.h> 387 389 388 int mq_unlink(const char *name); 390 int mq_unlink( 391 const char *name 392 ); 389 393 @end example 390 394 … … 426 430 #include<mqueue.h> 427 431 int mq_send( 428 mqd_tmqdes,429 const char*msg_ptr,430 size_tmsg_len,431 unsigned int msg_prio432 mqd_t mqdes, 433 const char *msg_ptr, 434 size_t msg_len, 435 unsigned int msg_prio 432 436 ); 433 437 @end example … … 481 485 482 486 size_t mq_receive( 483 mqd_tmqdes,484 char*msg_ptr,485 size_tmsg_len,486 unsigned int *msg_prio487 mqd_t mqdes, 488 char *msg_ptr, 489 size_t msg_len, 490 unsigned int *msg_prio 487 491 ); 488 492 @end example … … 537 541 538 542 int mq_notify( 539 mqd_tmqdes,540 const struct sigevent *notification543 mqd_t mqdes, 544 const struct sigevent *notification 541 545 ); 542 546 @end example … … 595 599 596 600 int mq_setattr( 597 mqd_tmqdes,598 const struct mq_attr *mqstat,599 struct mq_attr*omqstat601 mqd_t mqdes, 602 const struct mq_attr *mqstat, 603 struct mq_attr *omqstat 600 604 ); 601 605 @end example … … 645 649 @example 646 650 #include <mqueue.h> 647 int mq_getattr(mqd_t mqdes, struct mq_attr *mqstat); 651 int mq_getattr( 652 mqd_t mqdes, 653 struct mq_attr *mqstat 654 ); 648 655 @end example 649 656 -
doc/posix_users/mutex.t
ra47e653 rd2bfbaf 100 100 101 101 int pthread_mutexattr_init( 102 pthread_mutexattr_t *attr102 pthread_mutexattr_t *attr 103 103 ); 104 104 @end example … … 137 137 138 138 int pthread_mutexattr_destroy( 139 pthread_mutexattr_t *attr139 pthread_mutexattr_t *attr 140 140 ); 141 141 @end example … … 177 177 178 178 int pthread_mutexattr_setprotocol( 179 pthread_mutexattr_t *attr,180 intprotocol179 pthread_mutexattr_t *attr, 180 int protocol 181 181 ); 182 182 @end example … … 239 239 240 240 int pthread_mutexattr_getprotocol( 241 pthread_mutexattr_t *attr,242 int*protocol241 pthread_mutexattr_t *attr, 242 int *protocol 243 243 ); 244 244 @end example … … 283 283 284 284 int pthread_mutexattr_setprioceiling( 285 pthread_mutexattr_t *attr,286 intprioceiling285 pthread_mutexattr_t *attr, 286 int prioceiling 287 287 ); 288 288 @end example … … 329 329 330 330 int pthread_mutexattr_getprioceiling( 331 const pthread_mutexattr_t *attr,332 int*prioceiling331 const pthread_mutexattr_t *attr, 332 int *prioceiling 333 333 ); 334 334 @end example … … 374 374 375 375 int pthread_mutexattr_setpshared( 376 pthread_mutexattr_t *attr,377 intpshared376 pthread_mutexattr_t *attr, 377 int pshared 378 378 ); 379 379 @end example … … 412 412 413 413 int pthread_mutexattr_getpshared( 414 const pthread_mutexattr_t *attr,415 int*pshared414 const pthread_mutexattr_t *attr, 415 int *pshared 416 416 ); 417 417 @end example … … 450 450 451 451 int pthread_mutex_init( 452 pthread_mutex_t*mutex,453 const pthread_mutexattr_t *attr452 pthread_mutex_t *mutex, 453 const pthread_mutexattr_t *attr 454 454 ); 455 455 @end example … … 495 495 496 496 int pthread_mutex_destroy( 497 pthread_mutex_t *mutex497 pthread_mutex_t *mutex 498 498 ); 499 499 @end example … … 530 530 531 531 int pthread_mutex_lock( 532 pthread_mutex_t *mutex532 pthread_mutex_t *mutex 533 533 ); 534 534 @end example … … 569 569 570 570 int pthread_mutex_trylock( 571 pthread_mutex_t *mutex571 pthread_mutex_t *mutex 572 572 ); 573 573 @end example … … 609 609 610 610 int pthread_mutex_timedlock( 611 pthread_mutex_t*mutex,612 const struct timespec *timeout611 pthread_mutex_t *mutex, 612 const struct timespec *timeout 613 613 ); 614 614 @end example … … 653 653 654 654 int pthread_mutex_unlock( 655 pthread_mutex_t *mutex655 pthread_mutex_t *mutex 656 656 ); 657 657 @end example … … 684 684 685 685 int pthread_mutex_setprioceiling( 686 pthread_mutex_t *mutex,687 intprioceiling,688 int*oldceiling686 pthread_mutex_t *mutex, 687 int prioceiling, 688 int *oldceiling 689 689 ); 690 690 @end example … … 723 723 724 724 int pthread_mutex_getprioceiling( 725 pthread_mutex_t *mutex,726 int*prioceiling725 pthread_mutex_t *mutex, 726 int *prioceiling 727 727 ); 728 728 @end example -
doc/posix_users/procenv.t
ra47e653 rd2bfbaf 566 566 567 567 clock_t times( 568 struct tms *buf568 struct tms *buf 569 569 ); 570 570 @end example -
doc/posix_users/process.t
ra47e653 rd2bfbaf 96 96 @example 97 97 int execl( 98 const char *path,99 const char *arg,100 ...98 const char *path, 99 const char *arg, 100 ... 101 101 ); 102 102 @end example … … 136 136 @example 137 137 int execv( 138 const char *path,139 char const *argv[],140 ...138 const char *path, 139 char const *argv[], 140 ... 141 141 ); 142 142 @end example … … 176 176 @example 177 177 int execle( 178 const char *path,179 const char *arg,180 ...178 const char *path, 179 const char *arg, 180 ... 181 181 ); 182 182 @end example … … 216 216 @example 217 217 int 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[] 221 221 ); 222 222 @end example … … 256 256 @example 257 257 int execlp( 258 const char *file,259 const char *arg,260 ...258 const char *file, 259 const char *arg, 260 ... 261 261 ); 262 262 @end example … … 296 296 @example 297 297 int execvp( 298 const char *file,299 char *const argv[]300 ...298 const char *file, 299 char *const argv[] 300 ... 301 301 ); 302 302 @end example … … 338 338 339 339 int 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) 343 343 ); 344 344 @end example … … 381 381 382 382 int wait( 383 int *stat_loc383 int *stat_loc 384 384 ); 385 385 @end example … … 419 419 @example 420 420 int wait( 421 pid_tpid,422 int*stat_loc,423 intoptions421 pid_t pid, 422 int *stat_loc, 423 int options 424 424 ); 425 425 @end example … … 459 459 @example 460 460 void _exit( 461 int status461 int status 462 462 ); 463 463 @end example -
doc/posix_users/semaphores.t
ra47e653 rd2bfbaf 86 86 @example 87 87 int sem_init( 88 sem_t*sem,89 intpshared,90 unsigned intvalue88 sem_t *sem, 89 int pshared, 90 unsigned int value 91 91 ); 92 92 @end example … … 142 142 @example 143 143 int sem_destroy( 144 sem_t *sem144 sem_t *sem 145 145 ); 146 146 @end example … … 190 190 @ifset is-C 191 191 @example 192 int sem_open )193 const char *name,194 intoflag192 int sem_open( 193 const char *name, 194 int oflag 195 195 ); 196 196 @end example … … 270 270 @example 271 271 int sem_close( 272 sem_t *sem_close272 sem_t *sem_close 273 273 ); 274 274 @end example … … 312 312 @example 313 313 int sem_unlink( 314 const char *name314 const char *name 315 315 ); 316 316 @end example … … 367 367 @example 368 368 int sem_wait( 369 sem_t *sem369 sem_t *sem 370 370 ); 371 371 @end example … … 411 411 @example 412 412 int sem_trywait( 413 sem_t *sem413 sem_t *sem 414 414 ); 415 415 @end example … … 459 459 @example 460 460 int sem_timedwait( 461 sem_t*sem,462 const struct timespec *timeout461 sem_t *sem, 462 const struct timespec *timeout 463 463 ); 464 464 @end example … … 511 511 @example 512 512 int sem_post( 513 sem_t *sem513 sem_t *sem 514 514 ); 515 515 @end example … … 556 556 @example 557 557 int sem_getvalue( 558 sem_t *sem,559 int*sval558 sem_t *sem, 559 int *sval 560 560 ); 561 561 @end example -
doc/posix_users/signal.t
ra47e653 rd2bfbaf 96 96 97 97 int sigaddset( 98 sigset_t *set,99 intsigno98 sigset_t *set, 99 int signo 100 100 ); 101 101 @end example … … 132 132 133 133 int sigdelset( 134 sigset_t *set,135 intsigno134 sigset_t *set, 135 int signo 136 136 ); 137 137 @end example … … 168 168 169 169 int sigfillset( 170 sigset_t *set170 sigset_t *set 171 171 ); 172 172 @end example … … 205 205 206 206 int sigismember( 207 const sigset_t *set,208 intsigno207 const sigset_t *set, 208 int signo 209 209 ); 210 210 @end example … … 243 243 244 244 int sigemptyset( 245 sigset_t *set245 sigset_t *set 246 246 ); 247 247 @end example … … 280 280 281 281 int sigaction( 282 intsig,283 const struct sigaction *act,284 struct sigaction*oact282 int sig, 283 const struct sigaction *act, 284 struct sigaction *oact 285 285 ); 286 286 @end example … … 323 323 324 324 int pthread_kill( 325 pthread_t thread,326 intsig325 pthread_t thread, 326 int sig 327 327 ); 328 328 @end example … … 363 363 364 364 int sigprocmask( 365 inthow,366 const sigset_t *set,367 sigset_t*oset365 int how, 366 const sigset_t *set, 367 sigset_t *oset 368 368 ); 369 369 @end example … … 422 422 423 423 int pthread_sigmask( 424 inthow,425 const sigset_t *set,426 sigset_t*oset424 int how, 425 const sigset_t *set, 426 sigset_t *oset 427 427 ); 428 428 @end example … … 480 480 481 481 int kill( 482 pid_t pid,483 intsig482 pid_t pid, 483 int sig 484 484 ); 485 485 @end example … … 521 521 522 522 int sigpending( 523 const sigset_t *set523 const sigset_t *set 524 524 ); 525 525 @end example … … 562 562 563 563 int sigsuspend( 564 const sigset_t *sigmask564 const sigset_t *sigmask 565 565 ); 566 566 @end example … … 641 641 642 642 int sigwait( 643 const sigset_t *set,644 int*sig643 const sigset_t *set, 644 int *sig 645 645 ); 646 646 @end example … … 682 682 683 683 int sigwaitinfo( 684 const sigset_t *set,685 siginfo_t*info684 const sigset_t *set, 685 siginfo_t *info 686 686 ); 687 687 @end example … … 719 719 720 720 int sigtimedwait( 721 const sigset_t*set,722 siginfo_t*info,723 const struct timespec *timeout721 const sigset_t *set, 722 siginfo_t *info, 723 const struct timespec *timeout 724 724 ); 725 725 @end example … … 765 765 766 766 int sigqueue( 767 pid_tpid,768 intsigno,769 const union sigval value767 pid_t pid, 768 int signo, 769 const union sigval value 770 770 ); 771 771 @end example … … 817 817 818 818 unsigned int alarm( 819 unsigned int seconds819 unsigned int seconds 820 820 ); 821 821 @end example -
doc/posix_users/thread.t
ra47e653 rd2bfbaf 888 888 889 889 int pthread_create( 890 pthread_t *thread,891 const pthread_attr_t *attr,892 void (*start_routine)( void *),893 void *arg890 pthread_t *thread, 891 const pthread_attr_t *attr, 892 void (*start_routine)( void *), 893 void *arg 894 894 ); 895 895 @end example
Note: See TracChangeset
for help on using the changeset viewer.