Supported Functions

The following functions and headers are supported at least partially on the device. Some functions are implemented fully on the GPU, while others require a remote procedure call.

ctype.h

Function Name

Available

RPC Required

isalnum

isalpha

isascii

isblank

iscntrl

isdigit

isgraph

islower

isprint

ispunct

isspace

isupper

isxdigit

toascii

tolower

toupper

string.h

Function Name

Available

RPC Required

bcmp

bcopy

bzero

index

memccpy

memchr

memcmp

memcpy

memmem

memmove

mempcpy

memrchr

memset

rindex

stpcpy

stpncpy

strcasecmp

strcasestr

strcat

strchr

strchrnul

strcmp

strcoll

strcpy

strcspn

strdup

strlcat

strlcpy

strlen

strncasecmp

strncat

strncmp

strncpy

strndup

strnlen

strpbrk

strrchr

strsep

strspn

strstr

strtok

strtok_r

strxfrm

stdlib.h

Function Name

Available

RPC Required

abs

atoi

atof

atol

atoll

exit

abort

labs

llabs

div

ldiv

lldiv

bsearch

qsort

qsort_r

strtod

strtof

strtol

strtold

strtoll

strtoul

strtoull

inttypes.h

Function Name

Available

RPC Required

imaxabs

imaxdiv

strtoimax

strtoumax

stdio.h

Function Name

Available

RPC Required

feof

ferror

clearerr

fseek

ftell

fflush

fgetc

fgets

ungetc

getc

getchar

puts

fputs

fputc

fwrite

putc

putchar

fclose

fopen

fread

time.h

Function Name

Available

RPC Required

clock

nanosleep

assert.h

Function Name

Available

RPC Required

assert

__assert_fail