Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# ~$ clang-format-4.0 --version 21:58:56
# clang-format version 4.0.0-svn291336-1~exp1 (trunk)
#http://algo13.net/clang/clang-format-style-oputions.html
# excludet directory is Drivers, .git, dot-directory
# Target suffix is *.c, *.h
// messagepack-0.3.9 exsample for C
// http://msgpack.sourceforge.jp/
// http://msgpack.sourceforge.jp/c:doc.ja (C API)
/*
$ make
gcc msgpack.c -o msgpack -lmsgpackc
$ ldd ./msgpack
linux-gate.so.1 => (0xffffe000)
libmsgpackc.so.1 => /usr/local/lib/libmsgpackc.so.1 (0xb7f0d000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7dd9000)