Commit Graph

377 Commits

Author SHA1 Message Date
Jeremy Soller 66fa211a05 Merge pull request #85 from Tommoa/master
Added functions for stdio.h
2018-03-22 10:07:57 -06:00
Tom Almeida 97e165d8c7 Merge branch 'master' into master 2018-03-22 12:49:55 +08:00
Tom Almeida e1b20ed368 Fixed getopt passing the wrong argument to stdio functions 2018-03-22 12:43:05 +08:00
Jeremy Soller e5849526a0 Update lock file 2018-03-21 21:16:21 -06:00
Jeremy Soller fcf1104ea5 Merge pull request #102 from sajattack/rand
implement rand and srand using the rand crate
2018-03-21 21:15:30 -06:00
Jeremy Soller 0ec7d0bc57 Merge branch 'master' into rand 2018-03-21 21:14:35 -06:00
Paul Sajna 5f243a21f7 Merge branch 'rand' of github.com:sajattack/relibc into rand 2018-03-21 20:13:27 -07:00
Jeremy Soller e34d32aefe Update gitignore 2018-03-21 21:12:58 -06:00
Paul Sajna cdc6209ff4 fix comment 2018-03-21 20:12:22 -07:00
Jeremy Soller 26b533c978 Merge branch 'master' into rand 2018-03-21 21:08:33 -06:00
Jeremy Soller ae097074ec Merge branch 'master' into master 2018-03-21 20:59:14 -06:00
Jeremy Soller 77b7a98d4e Merge pull request #97 from Arcterus/master
unistd: add a preliminary implementation of getopt()
2018-03-21 20:55:43 -06:00
Paul Sajna cc5a4e92ce fmt 2018-03-20 19:45:45 -07:00
Paul Sajna a24f537a38 test 2018-03-20 19:44:49 -07:00
Paul Sajna 4db812d34d implement rand and srand 2018-03-20 19:31:58 -07:00
Tom Almeida 19705ccc87 Merged master into master 2018-03-20 23:48:07 +08:00
Tom Almeida dbc3e413cc Fixed clearerr actually doing nothing 2018-03-20 23:43:42 +08:00
Alex Lyon 2751d457bf unistd: use .is_null() for pointers 2018-03-19 15:05:38 -07:00
Alex Lyon 42a6693a0b unistd: fix off-by-one in getopt() 2018-03-19 14:50:41 -07:00
Alex Lyon af78348d4a unistd: add a preliminary implementation of getopt() 2018-03-19 14:50:41 -07:00
Tom Almeida 90aec2076e Merge branch 'master' into master 2018-03-19 14:29:58 +08:00
Jeremy Soller edead8e085 Merge pull request #98 from jeizsm/master
refactor nanosleep
2018-03-18 16:40:30 -06:00
Jeremy Soller 045a510ce5 Merge pull request #92 from tdbgamer/feature/strtok
Implement strtok
2018-03-18 16:37:06 -06:00
Jeremy Soller ca61b4cb63 Merge pull request #100 from jrraymond/bsearch
implement bsearch
2018-03-18 16:36:24 -06:00
Justin Raymond d3583e11d2 fix c99 mode 2018-03-18 17:58:29 -04:00
Justin Raymond a0c76f7ce5 bsearch 2018-03-18 17:11:43 -04:00
Marat Safin 31516989c0 refactor nanosleep 2018-03-18 12:29:38 +03:00
Timothy Bess 3a89f66cfd * simplify strtok implementation 2018-03-18 00:05:13 -04:00
Jeremy Soller 5cec358a45 Merge pull request #86 from dlrobertson/add_headers
Add some of the basics for netinet/in.h and sys/socket.h
2018-03-17 18:11:46 -06:00
Jeremy Soller befca562df Merge pull request #95 from ids1024/travis
Use build matrix on Travis CI
2018-03-17 18:11:16 -06:00
Ian Douglas Scott b7d68895b0 Use build matrix on Travis CI
This makes it easy to see which target failed to build.
2018-03-17 16:00:54 -07:00
Timothy Bess 06de920be6 * remove unnecessary assignments 2018-03-17 12:58:10 -04:00
Tom Almeida d8139238e7 Merged master with branch 2018-03-18 00:22:08 +08:00
Tom Almeida c24d1e2b36 Removed all function pointers in FILE, moved internal functions to be member functions of FILE, made relevant *mut FILEs into &mut FILE and made suitable functions safe again 2018-03-18 00:20:21 +08:00
Tom Almeida d7965f2598 Made it so that AtomicBool exports as volatile char 2018-03-18 00:19:08 +08:00
Tom Almeida 25501b3640 Changed redox lseek to have the same function signature as the linux version 2018-03-18 00:18:14 +08:00
Tom Almeida b33c3a8e4f Merge branch 'master' into master 2018-03-18 00:06:59 +08:00
Jeremy Soller 362849f0f6 Merge pull request #91 from tdbgamer/master
Issue #89: Fix return types on string functions
2018-03-17 07:04:52 -06:00
Timothy Bess e91891625f * add strtok_r 2018-03-17 03:56:40 -04:00
Timothy Bess 898cf98ccc * fix test case a bit
* remove unnecessary cast
2018-03-17 03:06:59 -04:00
Timothy Bess f60fafe8fb * create basic strtok
* add test and expected output
2018-03-17 02:58:08 -04:00
Timothy Bess bebbd35e1a Issue #89
* fix return types
* fix type casts on returns
2018-03-17 00:50:22 -04:00
Tom Almeida 2cb0a994b8 Merge branch 'master' into master 2018-03-16 23:26:11 +08:00
Tom Almeida 659d3d1042 Changed object type of function pointers from Option<*const (Fn(...))> to Option<fn(...)> for readability 2018-03-16 23:14:43 +08:00
Jeremy Soller d75535974a Merge pull request #74 from sajattack/wait
wait and waitpid
2018-03-16 09:03:35 -06:00
Tom Almeida 81d96c214a Ran formatting for freopen() 2018-03-16 20:47:32 +08:00
Tom Almeida 8d40424020 Added freopen() and relevant tests 2018-03-16 20:24:40 +08:00
Paul Sajna 2610fdd126 Merge branch 'wait' of github.com:sajattack/relibc into wait 2018-03-15 16:22:23 -07:00
Paul Sajna c568ca2932 test cleanup 2018-03-15 16:18:35 -07:00
Jeremy Soller b2b7804f5b Merge branch 'master' into wait 2018-03-15 15:51:29 -06:00