Developer Tools | clang: Apple's version | clang: upstream branch |
---|---|---|
8.2.1 | 800.0.42.1 | 3.9.0svn |
8.1 | 800.0.42.1 | 3.9.0svn |
8.0 | 800.0.38 | 3.9.0svn |
7.3.1 | [703.0.31](https://opensource.apple.com/source/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## WARNING: This will operate in the directory in which it is invoked! | |
## These are meant to be configured | |
cachedir=$HOME/xnu_cache | |
orgfile=$HOME/xnu.org | |
## Can be set here or passed on the command line | |
platform=${1:-ppc} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Moved here: https://gist.github.com/epipping/ef8b02b0cfaec4a5ebf3a57092145a3f |
I hereby claim:
- I am epipping on github.
- I am epipping (https://keybase.io/epipping) on keybase.
- I have a public key ASAfR-R_trPZWEDLhOxB-3nJc7BpjDSCaK118ueNIM8FlAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//#define _POSIX_C_SOURCE 199309L // POSIX.1b-1993 | |
//#define _POSIX_C_SOURCE 199506L // POSIX.1c-1996 | |
//#define _POSIX_C_SOURCE 200112L // POSIX.1-2001 | |
#define _POSIX_C_SOURCE 200809L // POSIX.1-2008 | |
#include <assert.h> | |
#include <signal.h> | |
#include <stdio.h> | |
#include <sys/time.h> | |
#include <sys/types.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
get_sigcode() { | |
/bin/kill -l | | |
awk -v name=$1 ' | |
BEGIN { nf = 0 } | |
{ | |
for (i=1; i<=NF; ++i) | |
if (toupper($i) == name) | |
print i+nf; |