Skip to content

Instantly share code, notes, and snippets.

dylib

Block or report user

Report or block dylib

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dylib
dylib / kevent.md
Created May 20, 2016
$ manx kevent
View kevent.md
 EVFILT_TIMER     Establishes an interval timer with the data timer iden-
                  tified by ident.  When adding a timer, data specifies
                  the timeout period and fflags can be set to one of the
                  following:

                  NOTE_SECONDS   data is in seconds

                  NOTE_USECONDS  data is in microseconds

                  NOTE_NSECONDS  data is in nanoseconds
@dylib
dylib / poll.md
Last active May 20, 2016
$ manx poll
View poll.md

POLL(2) BSD System Calls Manual POLL(2)

NAME poll -- synchronous I/O multiplexing

SYNOPSIS

#include <poll.h>
int
poll(struct pollfd fds[], nfds_t nfds, int timeout);
@dylib
dylib / hacklocaledir.c
Created Feb 19, 2016
Nasty preload hack to allow message catalogs to be read from the "po"
View hacklocaledir.c
/*
* Nasty preload hack to allow message catalogs to be read from the "po"
* subdir of the build tree.
*
* export LD_PRELOAD="hacklocaledir.so preloadable_libintl.so"
* export TEXTDOMAIN=program
*/
#define _GNU_SOURCE
View enc_cm
This file has been truncated, but you can view the full file.
View enc_cl
This file has been truncated, but you can view the full file.
View enc_ck
This file has been truncated, but you can view the full file.
View enc_cj
This file has been truncated, but you can view the full file.
View enc_ci
This file has been truncated, but you can view the full file.
View enc_ch
This file has been truncated, but you can view the full file.
View enc_cg
This file has been truncated, but you can view the full file.
You can’t perform that action at this time.