Crate tinyrlibc

Source
Expand description

A tiny C library, written in Rust.

See README.md for more details.

This file is Copyright (c) Jonathan ‘theJPster’ Pallant 2019 Licensed under the Blue Oak Model Licence 1.0.0

See each module for its respective license.

Structs§

CStringIter
This allows you to iterate a null-terminated string in a relatively simple way.

Statics§

RAND_MAX

Functions§

abs
Rust implementation of C library function abs
atoi
Rust implementation of C library function atoi
isalpha
Rust implementation of C library function isalpha
isdigit
Rust implementation of C library function isdigit
isspace
Rust implementation of C library function isspace
isupper
Rust implementation of C library function isupper
itoa
Formats the given value i, with the given radix, into the given buffer (of the given length).
memchr
Rust implementation of C library function memchr
qsort
Rust implementation of C library function qsort
rand
Rust implementation of C library function rand.
rand_r
Rust implementation of C library function rand_r
srand
Rust implementation of C library function srand
strcat
Rust implementation of C library function strcat.
strchr
Rust implementation of C library function strchr
strcmp
Rust implementation of C library function strcmp
strcpy
Rust implementation of C library function strcpy.
strcspn
Rust implementation of C library function strcspn
strlen
Rust implementation of C library function strlen
strncasecmp
Rust implementation of C library function strncasecmp.
strncmp
Rust implementation of C library function strncmp.
strncpy
Rust implementation of C library function strncmp.
strrchr
Rust implementation of C library function strrchr
strspn
Rust implementation of C library function strspn
strstr
Rust implementation of C library function strstr
strtoimax
Rust implementation of C library function strtoimax
strtol
Rust implementation of C library function atol
strtoll
Rust implementation of C library function strtoll
strtoul
Rust implementation of C library function strtoul
strtoull
Rust implementation of C library function strtoull
strtoumax
Rust implementation of C library function strtoumax
utoa
Formats the given value u, with the given radix, into the given buffer (of the given length).

Type Aliases§

CChar
Represents an 8-bit char.
CInt
int
CIntMax
uintmax_t
CLong
long int
CLongLong
long long int
CSizeT
size_t
CUInt
unsigned int
CUIntMax
intmax_t
CULong
unsigned long int
CULongLong
unsigned long long int
CVoid
void