Commit Graph

340 Commits (9e8ceb87d651ac79de8f55025b86a880866a781f)

Author SHA1 Message Date
Doug Coleman 431ddcaf9f unix.ffi: Fix syntax for FUNCTION: 2015-07-02 17:27:18 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Doug Coleman 999aa7c897 factor: clean up spaces in -tests files 2015-07-02 10:34:01 -07:00
Doug Coleman e3cb325040 factor: clean up whitespace in -docs files 2015-07-02 10:31:22 -07:00
Doug Coleman 352e5de16a core, basis, extra: Remove DOS line endings from files.
Remove whitespace from end of lines.
Add a newline to the end of each file.
2015-06-29 17:25:40 -07:00
John Benediktsson 28ca2f5275 unix: some using cleanups. 2014-12-24 11:16:11 -08:00
John Benediktsson 56b95b09a1 alien.c-types: move definitions of stdint.h from unix.types. 2014-12-23 19:40:21 -08:00
John Benediktsson 2a89e5c2cc basis: some more os require cleanup. 2014-11-15 15:56:37 -08:00
John Benediktsson b7ed0a431c basis/extra: cleanup some platform requires. 2014-11-15 14:25:12 -08:00
John Benediktsson d6b6f3893d basis/extra: switch to "vocab." os name>> append require. 2014-11-13 13:00:44 -08:00
Benjamin Pollack 2c3dd8c3c8 Remove executable bit from tons of files that aren't 2014-11-05 20:40:42 -08:00
Doug Coleman 0fbe0e5167 unix: Ignore failures if errno is EINTR on close(2). Fixes #908. 2014-07-07 14:55:13 -07:00
John Benediktsson 98935b7f15 docs: change ``{ $quotation "( x -- y )" }`` to ``{ $quotation ( x -- y ) }``. 2014-05-18 20:09:10 -07:00
John Benediktsson 4ca5b2ccb3 Revert "unix.ffi: be more explicit about dirent64."
This reverts commit edf456149330d44995b1c8bdf61a1c5d2617ed9c.
2014-04-29 14:02:30 -07:00
John Benediktsson 5dd26a9066 unix.ffi: be more explicit about dirent64. 2014-04-29 13:54:27 -07:00
Doug Coleman eb992066a7 unix.ffi: Oops 2014-04-22 08:27:13 -07:00
Doug Coleman 540e490031 unix.ffi: Arch Linux doesn't seem to have aliases. 2014-04-22 08:25:51 -07:00
John Benediktsson 3dae660d42 unix.linux.proc: future proof! 2014-04-22 07:50:35 -07:00
Doug Coleman 6be25de125 unix.ffi: Use a utility word for getting the aliases back. 2014-04-22 00:29:49 -07:00
Doug Coleman d1d15f83c4 unix.linux.proc: Fix length of meminfo struct on some kernel versions. 2014-04-22 00:18:20 -07:00
John Benediktsson 5e129a8964 more libc fixes. 2014-04-04 08:03:46 -07:00
Björn Lindqvist eaca04de3b libc: several vocabs now need to depend on libc 2014-04-02 12:13:00 -05:00
Björn Lindqvist 57a933e330 libc.*, unix.*: move constants and functions from the unix namespace to libc
The E* errno and SIG* constants are defined on Windows too, so they
should be in the libc vocab which is available there. They will be
used for SSL error handling.
2014-04-02 12:12:25 -05:00
Doug Coleman 30f2f8738b unix.users: Add utility word to find a user's home directory. 2013-11-19 09:32:45 -08:00
Jon Harper 5341466a32 linux/proc: do something with 'TLB size' 2013-11-03 20:11:24 -08:00
Björn Lindqvist 7c179f876c unix.ffi, windows.winsock: wraps for servent functions 2013-09-16 17:31:37 -07:00
John Benediktsson d44cc17161 update docs for help.lint checks. 2013-08-24 11:39:31 -07:00
Doug Coleman 10bbc244d3 unix.utmpx: Fix bootstrap on linux, add platform-specific structs. 2013-06-04 18:09:52 -07:00
Doug Coleman 2c6accb084 unix.utmpx: Support utmpx on linux and fix on macosx. Add a unit test. 2013-06-04 17:53:15 -07:00
Doug Coleman b4de3d0a2f unix.linux.proc: Handle a unified processor-info object for linux 2.6 and on. Add unit tests. Fixes #877. 2013-05-01 12:25:49 -07:00
Doug Coleman 65a7175cb6 unix.linux.proc: Pad tail with f for cpu-info. Fixes #877. 2013-04-30 16:47:09 -07:00
Doug Coleman 7f118e13c0 unix.linux.proc: /proc/cpuinfo is updated in real time and can change based on throttling options. Don't cache it. 2013-04-24 13:39:03 -07:00
John Benediktsson f70325a8c2 unix: use byte-vectors here. 2013-03-29 11:40:59 -07:00
Doug Coleman f12633e73b io.launcher.unix, unix.ffi: Reset ignored signal in process launcher. Fix SIG_DFL etc. 2013-03-24 12:38:02 -07:00
Doug Coleman f5d0035ac5 unix.stat.linux: stat-func 2013-03-23 22:48:57 -07:00
Doug Coleman 5732c61f12 unix.stat: Rename stat. 2013-03-23 22:38:38 -07:00
Doug Coleman 20e14a96df unix.statfs etc: Naming conflicts. 2013-03-23 22:38:38 -07:00
Doug Coleman 3b7d0681af unix: rename C function kevent. 2013-03-23 17:44:00 -07:00
Doug Coleman 48dff3e6f1 unix.linux.proc: Older kernels don't have enough fields in /proc/pid/stat. Pad it. 2013-02-25 10:07:05 -08:00
Doug Coleman 9dfa305561 unix.linux.proc: Add some more /proc parsing. 2013-02-24 18:30:18 -08:00
Doug Coleman 5a5bac70f4 unix.linux.proc: Refactor /proc parsing. Add generic to make pid/string and pid-string/string pairs into /proc/pid/pathname. 2013-02-24 18:30:18 -08:00
Doug Coleman 4eb9126971 unix.ffi: Add the man 2 signal() function call. 2013-02-01 11:36:18 -08:00
Doug Coleman a7fab027ae unix.linux.proc: Add a parser for some of the /proc and /proc/[PID]/ files. 2013-02-01 11:36:18 -08:00
John Benediktsson 7b50fd3601 unix: adding truncate-file. 2012-10-25 21:51:08 -07:00
John Benediktsson be4db5312f unix: adding mkfifo. 2012-10-24 20:08:32 -07:00
John Benediktsson 2f0e437314 unix.ffi.macosx: can't use iovec here... 2012-10-24 20:08:20 -07:00
John Benediktsson 22a6087107 unix.ffi: adding sendfile. 2012-10-24 19:53:39 -07:00
John Benediktsson e32eab2ca7 unix.ffi: adding readv/writev. 2012-10-24 19:53:24 -07:00
John Benediktsson 98b52e624c unix.ffi: adding "access". 2012-10-24 16:37:05 -07:00