Skip to content
POSIX/C bindings generator for the Crystal programming language
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
include
src
.gitignore
Makefile
README.md
Vagrantfile
shard.lock
shard.yml

README.md

C bindings for Crystal

Follows the IEEE Std 1003.1, 2013 Edition (The Open Group Base Specifications Issue 7) as much as libc implementations do, along with some common additions that are required by Crystal.

Bindings are automatically generated with CrystalLib from C headers.

Targets

Crystal only supports the x86 and x86_64 targets for now, but we should be capable to generate bindings for whatever POSIX C implementation. Each target will be checked when headers have been verified to be compliant.

  • Android

    • arm
    • arm64
    • mips
    • mips64
    • mips
    • mips64
    • x86
    • x86_64
  • FreeBSD

    • x86
    • x86_64
  • iOS

    • arm
    • arm64
  • Linux

    • gnu (x86, x86_64)
    • musl (x86, x86_64)
  • Mac OSX

    • darwin (x86_64)
  • Windows

    • cygwin

Headers

  • aio.h
  • arpa/inet.h
  • assert.h
  • complex.h
  • cpio.h
  • ctype.h
  • dirent.h
  • dlfcn.h
  • errno.h
  • fcntl.h
  • fenv.h
  • float.h
  • fmtmsg.h
  • fnmatch.h
  • ftw.h
  • glob.h
  • grp.h
  • iconv.h
  • inttypes.h
  • iso646.h
  • langinfo.h
  • libgen.h
  • limits.h
  • locale.h
  • math.h
  • monetary.h
  • mqueue.h
  • ndbm.h
  • net/if.h
  • netdb.h
  • netinet/in.h
  • netinet/tcp.h
  • nl_types.h
  • poll.h
  • pthread.h
  • pwd.h
  • regex.h
  • sched.h
  • search.h
  • semaphore.h
  • setjmp.h
  • signal.h
  • spawn.h
  • stdarg.h
  • stdbool.h
  • stddef.h
  • stdint.h
  • stdio.h
  • stdlib.h
  • string.h
  • strings.h
  • stropts.h
  • sys/ipc.h
  • sys/mman.h
  • sys/msg.h
  • sys/resource.h
  • sys/select.h
  • sys/sem.h
  • sys/shm.h
  • sys/socket.h
  • sys/stat.h
  • sys/statvfs.h
  • sys/time.h
  • sys/times.h
  • sys/types.h
  • sys/uio.h
  • sys/un.h
  • sys/utsname.h
  • sys/wait.h
  • syslog.h
  • tar.h
  • termios.h
  • tgmath.h
  • time.h
  • trace.h
  • ulimit.h
  • unistd.h
  • utmpx.h
  • wchar.h
  • wctype.h
  • wordexp.h
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.