Interpretations

Answering questions that may arise related to the meaning of portions of an IEEE standard concerning specific applications.

IEEE Standards Interpretations for IEEE Std 1003™-2001

Copyright © 2006 by the Institute of Electrical and Electronics Engineers, Inc. Three Park Avenue New York, New York 10016-5997 USA All Rights Reserved.

This is an interpretation of IEEE Std 1003.1-2001. Interpretations are issued to explain and clarify the intent of a standard and are not intended to constitute an alteration to the original standard or to supply consulting information. Permission is hereby granted to download and print one copy of this document. Individuals seeking permission to reproduce and/or distribute this document in its entirety or portions of this document must contact the IEEE Standard Department for the appropriate license. Use of the information contained in this document is at your own risk.

IEEE Standards Department Copyrights and Permissions 445 Hoes Lane, P. O. Box 1331 Piscataway, New Jersey 08855-1331, USA

October 2006

IEEE Std 1003.1-2001 Interpretation #1
Topic: Defect in XBD <sys/stat.h> Relevant Sections: <sys/stat.h>

IEEE Std 1003.1-2001 Interpretation #2
Topic: interaction of file descriptors and I/O streams Relevant Sections: 2.5.1

IEEE Std 1003.1-2001 Interpretation #3
Topic: Defect in XSH dlsym Relevant Sections: dlsym

IEEE Std 1003.1-2001 Interpretation #4
Topic: Defect in XSH sigaction Relevant Sections: sigaction

IEEE Std 1003.1-2001 Interpretation #5
Topic: Defect in XSH unlink Relevant Sections: unlink

IEEE Std 1003.1-2001 Interpretation #6
Topic: Defect in XCU sed Relevant Sections: sed rfile

IEEE Std 1003.1-2001 Interpretation #7
Topic: Defect in XSH fmax Relevant Sections: fmax NaN

IEEE Std 1003.1-2001 Interpretation #8
Topic: Defect in XSH fmin Relevant Sections: fmin NaN

IEEE Std 1003.1-2001 Interpretation #09
Topic: Defect in XSH pthread_attr_setstack Relevant Sections: pthread_attr_setstack margin code

IEEE Std 1003.1-2001 Interpretation #10
Topic: Defect in XBD signal.h Relevant Sections:struct sigaction

IEEE Std 1003.1-2001 Interpretation #11
Topic: Defect in XCU pax Relevant Sections: pax cpio symlinks

IEEE Std 1003.1-2001 Interpretation #12
Topic: Defect in XCU yacc Relevant Sections: yacc token

IEEE Std 1003.1-2001 Interpretation #13
Topic: Defect in XSH getaddrinfo Relevant Sections: EAI_OVERFLOW

IEEE Std 1003.1-2001 Interpretation #14
Topic: Defect in XSH setlocale Relevant Sections: editorial error

IEEE Std 1003.1-2001 Interpretation #15
Topic:Defect in XSH strtold/wcstold () Relevant Sections: exponent parts

IEEE Std 1003.1-2001 Interpretation #17
Topic: locale -k (Rdvk finaltext/XCU ERN 1) Relevant Sections: XCU locale STDOUT

IEEE Std 1003.1-2001 Interpretation #18
Topic: expr invalid_opearand Relevant Sections: expr STDOUT

IEEE Std 1003.1-2001 Interpretation #19
Topic: rm Relevant Sections: rm DESCRIPTION

IEEE Std 1003.1-2001 Interpretation #20
Topic: c99 Relevant Sections: Output File

IEEE Std 1003.1-2001 Interpretation #21
Topic: locale Relevant Sections: STDOUT

IEEE Std 1003.1-2001 Interpretation #22
Topic: posix_fallocate on filesystems that do not support the feature Relevant Sections: posix_fallocate

IEEE Std 1003.1-2001 Interpretation #23
Topic: feupdate raising saved exceptions Relevant Sections: feupdateenv()

IEEE Std 1003.1-2001 Interpretation #24
Topic: negative len arguments Relevant Sections: posix_fadvise()

IEEE Std 1003.1-2001 Interpretation #25
Topic: errors and fstat with file off_t Relevant Sections: f open

IEEE Std 1003.1-2001 Interpretation #26
Topic: option constants Relevant Sections: unistd.h

IEEE Std 1003.1-2001 Interpretation #27
Topic: utility extensions violating syntax Relevant Sections: XBD 12.2 Utility Syntax Guidelines

IEEE Std 1003.1-2001 Interpretation #28
Topic: spthread_cond_wait deadlock situations Relevant Sections: XSH pthread_cond_wait

IEEE Std 1003.1-2001 Interpretation #29
Topic: popen errors Relevant Sections: XSH popen

IEEE Std 1003.1-2001 Interpretation #30
Topic: sigpause and use in threaded applications Relevant Sections: XSH sigpause

IEEE Std 1003.1-2001 Interpretation #31
Topic: exit should not invoke cancellation cleanup handlers or per-thread data destructors Relevant Sections: XSH exit

IEEE Std 1003.1-2001 Interpretation #32
Topic: mq_notify(mq,NULL) behavior is not specified Relevant Sections: XSH mq_notify

IEEE Std 1003.1-2001 Interpretation #33
Topic: key_t arithemetic type Relevant Sections: XBD <sys/types.h> key_t

IEEE Std 1003.1-2001 Interpretation #34
Topic: SIGPOLL XSR option Relevant Sections: XBD signal.h

IEEE Std 1003.1-2001 Interpretation #35
Topic: connected socket definition Relevant Sections: XBD Definitions

IEEE Std 1003.1-2001 Interpretation #36
Topic: BRE nested subpatterns Relevant Sections: XBD 9.3.6

IEEE Std 1003.1-2001 Interpretation #37
Topic: cd relative paths Relevant Sections: XCU cd

IEEE Std 1003.1-2001 Interpretation #38
Topic: number expressions Relevant Sections: XCU test/ shell arithmetic expansion

IEEE Std 1003.1-2001 Interpretation #39
Topic: pathchk -p, Filename Portability Relevant Sections: XCU pathchk, XBD Global Concepts

IEEE Std 1003.1-2001 Interpretation #40
Topic: pathchk DESCRIPTION Relevant Sections: XCU pathchk

IEEE Std 1003.1-2001 Interpretation #41
Topic: trptime leading zeroes Relevant Sections: XSH strptime

IEEE Std 1003.1-2001 Interpretation #42
Topic: dbm_open implementation of database files Relevant Sections: XSH dbm_open

IEEE Std 1003.1-2001 Interpretation #43
Topic: freopen file descriptor allocation Relevant Sections: XSH freopen

IEEE Std 1003.1-2001 Interpretation #44
Topic: may fails vs shall fails Relevant Sections: XSH accept,bind,catgets,strdup

IEEE Std 1003.1-2001 Interpretation #45
Topic:aio_error() Relevant Sections: XSH aio_error()

IEEE Std 1003.1-2001 Interpretation #46
Topic: access X_OK Relevant Sections: XSH access

IEEE Std 1003.1-2001 Interpretation #47
Topic:XBD 8.1 Environment Variable Defn Relevant Sections: XBD 8.1 Environment Variable Defn

IEEE Std 1003.1-2001 Interpretation #48
Topic: XBD pthread.h pthread_rwlock_initializer Relevant Sections: XBD pthread.h

IEEE Std 1003.1-2001 Interpretation #49
Topic: XBD 7.3.1 LC_CTYPE Relevant Sections: XBD 7.3.1

IEEE Std 1003.1-2001 Interpretation #50
Topic: XBD errno.h Relevant Sections: XBD errno.h

IEEE Std 1003.1-2001 Interpretation #51
Topic: fgetc, fgetwc, fgets, fgetws, gets Relevant Sections: XSH fgetc, fgetwc, fgets, fgetws, gets

IEEE Std 1003.1-2001 Interpretation #52
Topic: pthread_mutex_setprioceiling() EDEADLK Relevant Sections: XSH pthread_mutex_setprioceiling()

IEEE Std 1003.1-2001 Interpretation #53
Topic: asctime() tm_year gt 9999 Relevant Sections: XBD errno.h

IEEE Std 1003.1-2001 Interpretation #54
Topic: lockf() threads vs processes Relevant Sections: XSH lockf()

IEEE Std 1003.1-2001 Interpretation #55
Topic: system() thread-safety, at_fork handlers Relevant Sections: XSH 2.9.1, system()

IEEE Std 1003.1-2001 Interpretation #56
Topic: ftruncate errors Relevant Sections: XSH ftruncate

IEEE Std 1003.1-2001 Interpretation #57
Topic: pthread_attr_getstackaddr, stackaddr attribute unset Relevant Sections: XSH pthread_attr_getstackaddr

IEEE Std 1003.1-2001 Interpretation #58
Topic: posix_memalign , alignment Relevant Sections:XSH posix_memalign

IEEE Std 1003.1-2001 Interpretation #59
Topic: readdir_r errors Relevant Sections: XSH readdir_r

IEEE Std 1003.1-2001 Interpretation #60
Topic: aitid() , flags usage Relevant Sections: XSH waitid()

IEEE Std 1003.1-2001 Interpretation #61
Topic:sched_setscheduler() Relevant Sections: XSH sched_setscheduler()

IEEE Std 1003.1-2001 Interpretation #62
Topic: getenv, static data overwritten Relevant Sections: XSH getenv

IEEE Std 1003.1-2001 Interpretation #63
Topic: pthread_self EINTR Relevant Sections: XSH pthread_self)

IEEE Std 1003.1-2001 Interpretation #64
Topic: sched.h, option shading Relevant Sections: 1XBD sched.h

IEEE Std 1003.1-2001 Interpretation #65
Topic: sigaction, SA_NODEFER Relevant Sections: XSH sigaction

IEEE Std 1003.1-2001 Interpretation #66
Topic: sem_open errors Relevant Sections: XSH sem_open

IEEE Std 1003.1-2001 Interpretation #67
Topic: pthread_exit(), funlockfile Relevant Sections: XSH pthread_exit()

IEEE Std 1003.1-2001 Interpretation #68
Topic: XSH 2.2.2 , SEEK_* namespace Relevant Sections: XSH 2.2.2

IEEE Std 1003.1-2001 Interpretation #69
Topic: pthread_setschedprio priority Relevant Sections: XSH pthread_setschedprio

IEEE Std 1003.1-2001 Interpretation #70
Topic: select() FD_SETSIZE Relevant Sections: select() FD_SETSIZE

IEEE Std 1003.1-2001 Interpretation #71
Topic: read, thread blocked on O_NONBLOCK Relevant Sections: XSH read

IEEE Std 1003.1-2001 Interpretation #72
Topic: strerror return value Relevant Sections: XSH strerror

IEEE Std 1003.1-2001 Interpretation #73
Topic: XSH 2.10.6 Socket Types, connect and sendto Relevant Sections: XXSH 2.10.6 Socket Types

IEEE Std 1003.1-2001 Interpretation #74
Topic: makecontext() uc_link Relevant Sections: XSH makecontext()

IEEE Std 1003.1-2001 Interpretation #75
Topic: XSH 2.2.1.2 _POSIX_C_SOURCE Relevant Sections: XSH 2.2.1.2

IEEE Std 1003.1-2001 Interpretation #76
Topic: rename, final component dot or dot-dot Relevant Sections: XSH rename

IEEE Std 1003.1-2001 Interpretation #77
Topic: semaphore names, message queue names Relevant Sections: XSH sem_open, sem_unlink, mq_open, mq_unlink, shm_open

IEEE Std 1003.1-2001 Interpretation #78
Topic: mmap page alignment conflict Relevant Sections: XSH mmap, mprotect, munmap, msync

IEEE Std 1003.1-2001 Interpretation #79
Topic: mmap() shared synchronization primitive Relevant Sections: XSH mmap()</PRE>

IEEE Std 1003.1-2001 Interpretation #80
Topic: fork() and aio control blocks Relevant Sections: XSH fork() (rdvk#1)

IEEE Std 1003.1-2001 Interpretation #81
Topic: getgrnam_r return value Relevant Sections: XSH getgrnam_r

IEEE Std 1003.1-2001 Interpretation #82
Topic: lio_listio() aio_sigevent Relevant Sections: XSH lio_listio()

IEEE Std 1003.1-2001 Interpretation #83
Topic: pthread_mutexattr_setprotocol PTHREAD_PRIO_PROTECT Relevant Sections: XSH pthread_mutexattr_setprotocol

IEEE Std 1003.1-2001 Interpretation #84
Topic: sigaction SA_RESTART Relevant Sections: XSH sigaction

IEEE Std 1003.1-2001 Interpretation #85
Topic: exit vs _exit Relevant Sections: XSH exit

IEEE Std 1003.1-2001 Interpretation #86
Topic: pax -H and stdin Relevant Sections: XCU pax

IEEE Std 1003.1-2001 Interpretation #87
Topic: vi P command Relevant Sections: XCU vi

IEEE Std 1003.1-2001 Interpretation #88
Topic: locale, LANG no value Relevant Sections: XCU locale

IEEE Std 1003.1-2001 Interpretation #89
Topic: mailx LC_TIME Relevant Sections: XCU mailx

IEEE Std 1003.1-2001 Interpretation #90
Topic: mailx next command Relevant Sections: XCU mailx

IEEE Std 1003.1-2001 Interpretation #91
Topic: rm dot Relevant Sections: XCU rm

IEEE Std 1003.1-2001 Interpretation #92
Topic:sort, Utility Syntax Guideline 13 Relevant Sections: XCU sort, XBD 12.2

IEEE Std 1003.1-2001 Interpretation #93
Topic: pr, sh, + operand Relevant Sections: XCU pr, sh

IEEE Std 1003.1-2001 Interpretation #94
Topic: pathchk DESCRIPTION Relevant Sections: XCU pathchk

IEEE Std 1003.1-2001 Interpretation #95
Topic: c99 -l operand Relevant Sections: XCU c99

IEEE Std 1003.1-2001 Interpretation #96
Topic: shell IFS unset Relevant Sections: XCU 2.5.3 IFS

IEEE Std 1003.1-2001 Interpretation #97
Topic: pwd -P Relevant Sections: XCU pwd

IEEE Std 1003.1-2001 Interpretation #98
Topic: non-whitespace IFS Relevant Sections: XCU 2.6.5 Field Splitting

IEEE Std 1003.1-2001 Interpretation #99
Topic: df file operand Relevant Sections: XCU df

IEEE Std 1003.1-2001 Interpretation #100
Topic: tail -c 0, -n 0 Relevant Sections: XCU tail

IEEE Std 1003.1-2001 Interpretation #101
Topic: ls -l output Relevant Sections: XCU ls

IEEE Std 1003.1-2001 Interpretation #102
Topic: dd seek extend Relevant Sections: XCU dd

IEEE Std 1003.1-2001 Interpretation #103
Topic: strip object files, archives, executables Relevant Sections: XCU strip

IEEE Std 1003.1-2001 Interpretation #104
Topic: nohup standard input Relevant Sections: XCU nohup

IEEE Std 1003.1-2001 Interpretation #105
Topic: nohup with standard output closed Relevant Sections: XCU nohup

IEEE Std 1003.1-2001 Interpretation #106
Topic: nohup OUTPUT FILES contradicts DESCRIPTION Relevant Sections: XCU nohup

IEEE Std 1003.1-2001 Interpretation #107
Topic: test XSI requirements Relevant Sections: XCU test

IEEE Std 1003.1-2001 Interpretation #108
Topic: man standard error Relevant Sections: XCU man

IEEE Std 1003.1-2001 Interpretation #109
Topic: pax and UTF-8 Relevant Sections: XCU pax