diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-05-30 12:03:54 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-06-16 17:08:22 +0200 |
commit | fa73c1937364872560c509f02b3d7648a5bed006 (patch) | |
tree | 9b7c54b4c60ff8bab560ff3948fb74de4aed8b25 /guix/ui.scm | |
parent | 8cdbaebcbd34259793cdfb34b03f2f84db82a825 (diff) | |
download | guix-patches-fa73c1937364872560c509f02b3d7648a5bed006.tar guix-patches-fa73c1937364872560c509f02b3d7648a5bed006.tar.gz |
syscalls: Add 'scandir*'.
* guix/build/syscalls.scm (%struct-dirent-header): New C struct.
(string->pointer/utf-8, pointer->string/utf-8): New procedures.
(opendir*, closedir*, readdir*, scandir*): New procedures.
* tests/syscalls.scm ("scandir*, ENOENT")
("scandir*, ASCII file names", "scandir*, UTF-8 file names")
("scandir*, properties): New tests.
Diffstat (limited to 'guix/ui.scm')
0 files changed, 0 insertions, 0 deletions