What is UNIX

What's new in the Single UNIX® Specification Version 2

A White Paper from the X/Open Base Working Group.

Version 1 Last update March 12 1997.

Full Text Available in Go Solo 2.

Abstract

This white paper gives a list of the new system interfaces and utilities in the next version of the Single UNIX Specification. A complete listing of all the APIs is available in PDF format.

This paper is part of a series of brief papers describing new and changed features in the Single UNIX Specification.

New Interfaces in XSH Issue 5

New system interfaces have been originated as follows:


New Utilities in XCU Issue 5

The following utilities are new in the XCU:


fuser  
ipcrm 
ipcs  
link  
unlink 


New features in XSH in detail

Realtime (ANSI/IEEE Std 1003.1b-1993)


<aio.h> 
<mqueue.h> 
<sched.h> 

aio_cancel()    
aio_error()     
aio_fsync()     
aio_read() 
aio_return()    
aio_suspend()   
aio_write()     

clock_getres()
clock_gettime()
clock_settime()

fdatasync()     

lio_listio()    

mlock()
mlockall()
mq_close()
mq_getattr()
mq_notify()
mq_open()
mq_receive()
mq_send()
mq_setattr()
mq_unlink()
munlock()
munlockall()

nanosleep()     

sched_get_priority_max()	
sched_get_priority_min()	
sched_getparam()
sched_getscheduler()
sched_rr_get_interval()
sched_setparam()
sched_setscheduler()
sched_yield()
sem_close()
sem_destroy()
sem_getvalue()
sem_init()
sem_open()
sem_post()
sem_trywait()
sem_unlink()
sem_wait()
shm_open()
shm_unlink()	
sigqueue()
sigtimedwait()
sigwaitinfo()

timer_create()
timer_delete()
timer_getoverrun()
timer_gettime()
timer_settime()

ISO C Amendment 1

<iso646.h> 
<wctype.h> 

btowc() 
fwide() 
fwprintf() 
fwscanf() 

mbrlen() 
mbrtowc() 
mbsinit() 
mbsrtowcs()
swprintf()
swscanf()

towctrans()

vfwprintf()
vswprintf()
vwprintf()

wcrtomb()
wcsrtombs()
wcsstr()
wctob()
wctrans()
wmemchr()
wmemcmp()
wmemcpy()
wmemmove()
wmemset()
wprintf()
wscanf()

Dynamic Linking

<dlfcn.h>

dlclose()
dlerror()
dlopen()
dlsym()

PThreads (ANSI/IEEE Std 1003.1c-1995)

<pthread.h> 

asctime_r()	

ctime_r()

flockfile()
ftrylockfile()
funlockfile()

getc_unlocked()
getchar_unlocked()
getgrgid_r()
getgrnam_r()
getpwnam_r()
getpwuid_r()
gmtime_r()

localtime_r()

pthread_atfork()
pthread_attr_destroy()
pthread_attr_getdetachstate()
pthread_attr_getinheritsched()
pthread_attr_getschedparam()
pthread_attr_getschedpolicy()
pthread_attr_getscope()
pthread_attr_getstackaddr()
pthread_attr_getstacksize()
pthread_attr_init()
pthread_attr_setdetachstate()	
pthread_attr_setinheritsched()
pthread_attr_setschedparam()
pthread_attr_setschedpolicy()
pthread_attr_setscope()
pthread_attr_setstackaddr()
pthread_attr_setstacksize()
pthread_cancel()
pthread_cleanup_pop()
pthread_cleanup_push()
pthread_cond_broadcast()	
pthread_cond_destroy()
pthread_cond_init()
pthread_cond_signal()
pthread_cond_timedwait()	
pthread_cond_wait()
pthread_condattr_destroy()
pthread_condattr_getpshared()
pthread_condattr_init()
pthread_condattr_setpshared()
pthread_create()
pthread_detach()
pthread_equal()
pthread_exit()
pthread_getschedparam()
pthread_getspecific()
pthread_join()
pthread_key_create()
pthread_key_delete()	
pthread_kill()
pthread_mutex_destroy()
pthread_mutex_getprioceiling()
pthread_mutex_init()
pthread_mutex_lock()
pthread_mutex_setprioceiling()
pthread_mutex_trylock()
pthread_mutex_unlock()
pthread_mutexattr_destroy()
pthread_mutexattr_getprioceiling()
pthread_mutexattr_getprotocol()
pthread_mutexattr_getpshared()
pthread_mutexattr_init()
pthread_mutexattr_setprioceiling()
pthread_mutexattr_setprotocol()
pthread_mutexattr_setpshared()
pthread_once()
pthread_self()
pthread_setcancelstate()
pthread_setcanceltype()
pthread_setschedparam()
pthread_setspecific()
pthread_sigmask()
pthread_testcancel()
putc_unlocked()
putchar_unlocked()

rand_r()
readdir_r()

sigwait()
strtok_r()

Threads Extensions
 
pread()
pthread_attr_getguardsize()
pthread_attr_setguardsize()
pthread_getconcurrency()
pthread_mutexattr_gettype()
pthread_mutexattr_settype()
pthread_rwlock_destroy()
pthread_rwlock_init()
pthread_rwlock_rdlock()
pthread_rwlock_tryrdlock()
pthread_rwlock_trywrlock()
pthread_rwlock_unlock()
pthread_rwlock_wrlock()
pthread_rwlockattr_destroy()
pthread_rwlockattr_getpshared()
pthread_rwlockattr_init()
pthread_rwlockattr_setpshared()
pthread_setconcurrency()	
pwrite()

Large File Support
 
fseeko()
ftello()

Data Size Neutral
 
<inttypes.h>

Miscellaneous.

snprintf(), vsnprintf()


Read other technical papers.

Read or download the complete Single UNIX Specification from http://www.UNIX-systems.org/go/unix.

Copyright © 1997-1998 The Open Group

UNIX is a registered trademark of The Open Group.