Created
May 8, 2017 18:15
-
-
Save lukassup/f48b4d402d2256e37871d87629beceb9 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 python | |
| # -*- coding: utf-8 -*- | |
| import sys | |
| from ctypes import CDLL | |
| dll = 'dylib' if sys.platform == 'darwin' else 'so.6' | |
| libc = CDLL('libc.%s' % dll) | |
| libc.time(-1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment