Export (0) Print
Expand All

Supported System Calls

Applies To: Windows 7, Windows Server 2008 R2, Windows Server 2012

The syscall (2) function performs the system call whose assembly language interface has the specified number with the specified arguments. Symbolic constants for system calls can be found in the header file <sys/syscall.h> .

For more information about the syscall function, see the Help and release notes provided with the Utilities and Software Development Kit (SDK) for Subsystem for UNIX-based Applications installation package, available for download from the Microsoft Web site (http://go.microsoft.com/fwlink/?LinkId=139521).

Supported system calls

The following system calls are supported by Subsystem for UNIX-based Applications.

 

_control87

_controlfp

_exit

_getInstallPath

_getInstallPath_Win

_prefixInstallPath

_prefixInstallPath_Win

_tolower

_toupper

Aa64l

abort

abs

accept

access

acos

acosh

alarm

alloca

alphasort

arc4random_addrandom

arc4random

arc4random_stir

asctime

asctime_r

asin

asinh

assert

atan

atan2

atan2f

atanf

atanh

atexit

atof

atoi

atol

auth_destroy

authenticateuser

authnone_create

authunix_create

authunix_create_default

Bbasename

bcmp

bcopy

bind

bindresvport

blf_cbc_decrypt

blf_cbc_encrypt

blf_dec

blf_ecb_decrypt

blf_ecb_encrypt

blf_enc

blf_key

brk

bsearch

bzero

Ccabs

calloc

callrpc

catclose

catgets

catopen

cbrt

ceil

cfgetispeed

cfgetospeed

cfsetispeed

cfsetospeed

chdir

chmod

chown

chpass

chroot

clearerr

clnt_control

clnt_create

clnt_destroy

clnt_freeres

clnt_geterr

clnt_pcreateerror

clnt_perrno

clnt_perror

clnt_spcreateerror

clnt_sperrno

clnt_sperror

clnt_statclnt_broadcast

clnt_statclnt_call

clnt_statpmap_rmtcall

clntraw_create

clnttcp_create

clntudp_bufcreate

clntudp_create

clock

close

closedir

closelog

confstr

connect

copysign

copysignf

cos

cosh

creat

crypt

ctermid

ctime

ctime_r

cuserid

Ddaemon

dbm_clearerr

dbm_close

dbm_delete

dbm_error

dbm_fetch

dbm_firstkey

dbm_nextkey

dbm_open

dbm_store

des_cipher

des_setkey

difftime

dirfd

dirname

div

dlclose

dlerror

dlopen

dlsym

dn_comp

dn_expand

drand48

drem

dup

dup2

Eecvt

el_deletestr

el_end

el_getc

el_gets

el_init

el_insertstr

el_line

el_parse

el_push

el_reset

el_resize

el_set

el_source

encrypt

endgrent

endhostent

endnetent

endprotoent

endpwent

endservent

endutxent

env

env_alloc

env_array

env_cron

env_expand_win

env_free

env_get

env_login

env_put

env_putarray

env_set

env_strfree

env_t

env_unset

env_winlogin

erand48

erf

erfc

err

errno

errx

exec

exec_asuser

execl

execl_asuser

execle

execle_asuser

execlp

execlp_asuser

execv

execv_asuser

execve

execve_asuser

execvp

execvp_asuser

exit

exp

expm1

Ffabs

fabsf

fchdir

fchmod

fchown

fclose

fcntl

fcvt

fdopen

feof

ferror

fflush

ffs

fgetc

fgetln

fgetpos

fgets

fgetwc

fgetws

fileno

finite

finitef

flock

flockfile

floor

floorf

fmod

fnmatch

fopen

fork

forkpty

fp_nquery

fp_resstat

fpathconf

fprintf

fpurge

fputc

fputs

fputwc

fputws

fread

free

freeaddrinfo

freopen

frexp

fscanf

fseek

fsetpos

fstat

fstatvfs

fsync

ftell

ftime

ftok

ftruncate

ftrylockfile

fts_children

fts_close

fts_open

fts_read

fts_set

ftw

funlockfile

fwrite

Ggai_strerror

gamma

gamma_r

gcvt

get_myaddress

getaddrinfo

getbsize

getc

getcwd

getdate

getdtablesize

getegid

getenv

geteuid

getgid

getgrent

getgrent_nomembers

getgrgid

getgrgid_r

getgrgid_ex

getgrgid_nomembers

getgrnam

getgrnam_r

getgrnam_nomembers

getgroups

gethostbyaddr

gethostbyname

gethostent

gethostname

getitimer

getlogin

getlogin_r

getmode

getnameinfo

getnetbyaddr

getnetbyname

getnetent

getopt

getpass

getpdomain

getpeername

getpgrp

getpid

getppid

getpriority

getprotobyname

getprotobynumber

getprotoent

getpwent

getpwnam

getpwnam_r

getpwuid

getpwuid_ex

getpwuid_r

getrlimit

getrpcbyname

getrpcbynumber

getrpcent

getrpcport

getrusage

gets

getsecret

getservbyname

getservbyport

getservent

getsockname

getsockopt

getsubopt

gettimeofday

gettzenv

getuid

getutxent

getutxid

getutxline

getwc

getw

getwchar

glob

globfree

gmtime

gmtime_r

grantpt

group_from_gid

Hhcreate

hcreate_r

hdestroy

hdestroy_r

herror

hesiod

hesiod_end

hesiod_free_list

hesiod_init

hesiod_resolve

hesiod_to_bind

history

history_end

history_init

hostalias

hsearch

hsearch_r

hstrerror

hstrerror

htonl

htons

hypot

Iiconv

iconv_close

iconv_open

ieee

ieee_test

ilogb

index

inet_addr

inet_aton

inet_cidr_ntop

inet_cidr_pton

inet_lnaof

inet_makeaddr

inet_netof

inet_network

inet_ntoa

infnan

initstate

ioctl

iruserok

isalnum

isalpha

isascii

isatty

isblank

iscntrl

isdigit

isgraph

isinf

isinff

islower

isnan

isnanf

isprint

ispunct

isspace

isupper

isxdigit

iswalnum

iswalpha

iswblank

iswcntrl

iswctype

iswdigit

iswgraph

iswlower

iswprint

iswpunct

iswspace

iswupper

iswxdigit

Jj0

j1

jn

jrand48

Kkill

killpg

Ll64a

labs

lchown

lcong48

ldexp

ldiv

lfind

lgamma

lgamma_r

libm

link

listen

localeconv

localtime

localtime_r

lockf

log

log10

log1p

logb

longjmp

lrand48

lsearch

lseek

lstat

Mmadvise

major

malloc

math

mblen

mbsntowcs

mbstowcs

mbtowc

mctl

MD4Data

MD4End

MD4File

MD4Final

MD4Init

MD4Transform

MD4Update

MD5Data

MD5End

MD5File

MD5Final

MD5Init

MD5Transform

MD5Update

memccpy

memchr

memcmp

memcntl

memcpy

memmove

memset

minor

mkdev

mkdir

mkfifo

mknod

mktemp

mktime

mmap

modf

mprotect

mrand48

msgctl

msgget

msgrcv

msgsnd

msync

munmap

Nnextafter

nftw

nice

nl_langinfo

nrand48

ns_find_tsig

ns_sign

ns_sign_tcp

ns_sign_tcp_init

ns_verify

ns_verify_tcp

ns_verify_tcp_init

ntohl

ntohs

Oopen

opendir

openlog

openpty

Pp_query

path_casesensitive

pathconf

pause

pclose

perror

pipe

pmap_getmaps

pmap_getport

pmap_set

pmap_unset

poll

popen

pow

pread

printf

pthread_atfork

pthread_attr_destroy

pthread_attr_getdetachstate

pthread_attr_getguardsize

pthread_attr_getinheritsched

pthread_attr_getschedparam

pthread_attr_getschedpolicy

pthread_attr_getscope

pthread_attr_getstack

pthread_attr_getstackaddr

pthread_attr_getstacksize

pthread_attr_init

pthread_attr_setdetachstate

pthread_attr_setguardsize

pthread_attr_setinheritsched

pthread_attr_setschedparam

pthread_attr_setschedpolicy

pthread_attr_setscope

pthread_attr_setstack

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_cond_init

pthread_create

pthread_detach

pthread_equal

pthread_exit

pthread_getconcurrency

pthread_getschedparam

pthread_getspecific

pthread_join

pthread_key_create

pthread_key_delete

pthread_kill

pthread_mutex_destroy

pthread_mutex_init

pthread_mutex_lock

pthread_mutex_timedlock

pthread_mutex_trylock

pthread_mutex_unlock

pthread_mutexattr_destroy

pthread_mutexattr_getpshared

pthread_mutexattr_gettype

pthread_mutexattr_init

pthread_mutexattr_setpshared

pthread_mutexattr_settype

pthread_once

pthread_rwlock_destroy

pthread_rwlock_init

pthread_rwlock_rdlock

pthread_rwlock_timedrdlock

pthread_rwlock_timedwrlock

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_self

pthread_setcancelstate

pthread_setcanceltype

pthread_setconcurrency

pthread_setschedparam

pthread_setschedprio

pthread_setspecific

pthread_sigmask

pthread_spin_destroy

pthread_spin_init

pthread_spin_lock

pthread_spin_trylock

pthread_spin_unlock

pthread_testcancel

ptsname

putc

putchar

putenv

puts

pututxline

putw

putwc

putwchar

putws

pwrite

Qqsort

Rradixsort

raise

rand

rand_r

rand48

random

rcmd

read

readdir

readdir_r

readlink

readv

realloc

realpath

recv

recvfrom

regcomp

regerror

regexec

regfree

registerrpc

remainder

remove

rename

renamewtmpx

res_close

res_findzonecut

res_getservers

res_hostalias

res_init

res_isourserver

res_mkquery

res_nclose

res_ninit

res_nmkquery

res_nmkupdate

res_nquery

res_nquerydomain

res_nsearch

res_nsend

res_nsendsigned

res_nupdate

res_ourserver_p

res_pquery

res_query

res_querydomain

res_search

res_send

res_setservers

res_update

rewind

rewinddir

rexec

rindex

rint

RMD160Data

RMD160End

RMD160File

RMD160Final

RMD160Init

RMD160Transform

RMD160Update

rmdir

rpc

rresvport

ruserok

Ssbrk

scalb

scalbn

scalbnf

scandir

scanf

sched_get_priority_max

sched_get_priority_min

sched_yield

seed48

seekdir

select

sem_destroy

sem_getvalue

sem_init

sem_post

sem_timedwait

sem_trywait

sem_wait

semctl

semget

semop

send

sendto

setbuf

setbuffer

setegid

setenv

seteuid

setgid

setgrent

sethostent

setitimer

setjmp

setkey

setlinebuf

setlocale

setlogmask

setmode

setnetent

setpgid

setpriority

setprotoent

setpwent

setregid

setreuid

setrlimit

setsecret

setservent

setsid

setsockopt

setstate

settimeofday

setuid

setuser

setutxent

setvbuf

SHA1Data

SHA1End

SHA1File

SHA1Final

SHA1Init

SHA1Transform

SHA1Update

shmat

shmctl

shmdt

shmget

shutdown

sigaction

sigaddset

sigblock

sigdelset

sigemptyset

sigfillset

sighold

sigignore

sigismember

siglongjmp

sigmask

signal

significand

sigpause

sigpending

sigprocmask

sigrelse

sigset

sigsetjmp

sigsetmask

sigsetops

sigsuspend

sigvec

sigwait

sin

sinf

sinh

sleep

snprintf

sockaddr_in

socket

socketpair

sprintf

sqrt

sqrtf

srand

srand48

srandom

sscanf

stat

statvfs

stdarg

strcasecmp

strcasestr

strcat

strchr

strcmp

strcoll

strcpy

strcspn

strdup

strerror

strerror_r

strfmon

strftime

stripdomainprefix

strlcat

strlcpy

strlen

strmode

strncasecmp

strncasestr

strncat

strncmp

strncpy

strpbrk

strptime

strrchr

strsep

strsignal

strsigname

strspn

strstr

strtod

strtok

strtok_r

strtol

strtoul

strunvis

strvis

strvisx

strxfrm

svc_destroy

svc_freeargs

svc_getargs

svc_getreq

svc_getreqset

svc_register

svc_run

svc_sendreply

svc_unregister

svcerr_auth

svcerr_decode

svcerr_noproc

svcerr_noprog

svcerr_progvers

svcerr_systemerr

svcerr_weakauth

svcfd_create

svcraw_create

svctcp_create

svcudp_bufcreate

swab

symlink

syscall

sysconf

syslog

system

Tt_accept

t_alloc

t_bind

t_close

t_connect

t_error

t_free

t_getinfo

t_getprotaddr

t_getstate

t_listen

t_look

t_open

t_optmgmt

t_rcv

t_rcvconnect

t_rcvdis

t_rcvrel

t_rcvudata

t_rcvuderr

t_snd

t_snddis

t_sndrel

t_sndudata

t_strerror

t_sync

t_unbind

tan

tanf

tanh

tcdrain

tcflow

tcflush

tcgetattr

tcgetpgrp

tcsendbreak

tcsetattr

tcsetpgrp

tdelete

telldir

tempnam

tfind

tgetent

tgetflag

tgetnum

tgetstr

tgoto

time

times

tmpfile

tmpnam

toascii

tolower

toupper

towlower

towupper

tputs

truncate

tsearch

tsig

ttyname

ttyname_r

ttyslot

twalk

tzset

Uualarm

uidtontsid

ulimit

umask

uname

ungetc

ungetwc

unixpath2win

unlink

unlockpt

unsetenv

unvis

user_from_uid

usleep

utime

Vvarargs

verr

verrx

vfork

vfprintf

vfscanf

vis

vprintf

vscanf

vsnprintf

vsprintf

vsscanf

vsyslog

vwarn

vwarnx

Wwait

waitpid

warn

warnx

wcs_access

wcs_chdir

wcs_chmod

wcs_chown

wcs_chroot

wcs_fnmatch

wcs_lchown

wcs_link

wcs_lstat

wcs_mkdir

wcs_mkfifo

wcs_mknod

wcs_open

wcs_opendir

wcs_pathconf

wcs_readlink

wcs_regcomp

wcs_regexec

wcs_remove

wcs_rename

wcs_renamewtmpx

wcs_rmdir

wcs_stat

wcs_statvfs

wcs_symlink

wcs_unlink

wcs_utime

wcscasecmp

wcscasewcs

wcscat

wcschr

wcscmp

wcscoll

wcscpy

wcscspn

wcsdup

wcsftime

wcslcat

wcslcpy

wcslen

wcsncasecmp

wcsncat

wcsncmp

wcsncpy

wcspbrk

wcsrchr

wcssep

wcsspn

wcsstr

wcstod

wcstok

wcstol

wcsntombs

wcstombs

wcstoul

wcswcs

wcswidth

wcsxfrm

wctomb

wctype

wcwidth

winpath2unix

write

writev

Xxdr

xdr_accepted_reply

xdr_array

xdr_authunix_parms

xdr_bool

xdr_bytes

xdr_callhdr

xdr_callmsg

xdr_char

xdr_destroy

xdr_double

xdr_enum

xdr_float

xdr_free

xdr_getpos

xdr_inline

xdr_int

xdr_long

xdr_opaque

xdr_opaque_auth

xdr_pmap

xdr_pmaplist

xdr_pointer

xdr_reference

xdr_rejected_reply

xdr_replymsg

xdr_setpos

xdr_short

xdr_string

xdr_u_char

xdr_u_long

xdr_u_short

xdr_union

xdr_vector

xdr_void

xdr_wrapstring

xdrmem_create

xdrrec_create

xdrrec_endofrecord

xdrrec_eof

xdrrec_skiprecord

xdrstdio_create

xprt_register

xprt_unregister

Yy0

y1

yn

Zz_abs

 

 

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft