plan9port/include
Russ Cox 8cb7308f3a lib9: use opendir/readdir to read directories
getdirentries(2) has been deprecated on macOS since 10.5 (ten releases ago).
Using it requires disabling 64-bit inodes, but that in turn makes binaries
incompatible with some dynamic libraries, most notably ASAN.

At some point getdirentries(2) will actually be removed.

For both these reasons, switch to opendir/readdir.
A little clunky since we have to keep the DIR* hidden away
to preserve the int fd interfaces, but it lets us remove a bunch
of OS-specific code too.
2020-05-17 20:15:41 -04:00
..
9p.h delete 9P2000.u 2010-12-07 13:34:11 -05:00
9pclient.h more functions 2006-07-23 02:55:34 +00:00
acme.h tweak for manual 2006-06-25 23:49:25 +00:00
ar.h More files. 2004-03-25 23:08:53 +00:00
auth.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
authsrv.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
avl.h libavl: import from Plan 9 2009-08-23 09:38:29 -07:00
bin.h autolib 2005-01-04 21:18:08 +00:00
bio.h libbio: lost changes to include/bio.h (@#%@#$ mercurial) 2008-06-03 08:32:36 -04:00
complete.h autolib 2005-01-04 21:18:08 +00:00
cursor.h libdraw: add Cursor2, a 32x32 high-res cursor 2018-11-15 20:39:35 -05:00
disk.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
diskfs.h hfs (David Swasey) 2007-05-28 20:27:25 +00:00
draw.h libdraw: redo default font construction to be hidpi-safe 2018-11-16 00:03:24 -05:00
drawfcall.h libdraw: connect to devdraw via $wsysid when set 2020-01-13 16:46:14 -05:00
event.h libdraw: add Cursor2, a 32x32 high-res cursor 2018-11-15 20:39:35 -05:00
fcall.h delete 9P2000.u 2010-12-07 13:34:11 -05:00
flate.h make flate crc32 work when ulong is 64 bits 2010-02-07 16:51:28 -08:00
fmt.h convert to 4-byte UTF-8 and 32-bit Rune 2009-09-11 17:03:06 -04:00
frame.h libframe: auto scale tick for retina 2012-11-25 23:48:19 -05:00
geometry.h NetBSD support. Thanks to Christoph Lohmann. 2005-03-28 15:58:14 +00:00
html.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
httpd.h add searchpairs 2007-04-21 20:41:08 +00:00
ip.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
keyboard.h keyboard.h: add some missing key enums from Plan 9 2015-06-03 15:31:35 +00:00
lib9.h Today's changes. 2004-03-25 23:03:57 +00:00
libc.h lib9: add close 2020-05-17 20:15:41 -04:00
libsec.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
libString.h autolib 2005-01-04 21:18:08 +00:00
mach.h libmach, acid, db: 64-bit support 2012-02-19 18:11:39 -05:00
memdraw.h devdraw: move Client into devdraw.h and move global state in 2020-01-13 16:46:14 -05:00
memlayer.h include/memlayer.h: remove redundant AUTOLIB (Brian Stuart) 2008-06-10 11:35:29 -04:00
mouse.h libdraw: add Cursor2, a 32x32 high-res cursor 2018-11-15 20:39:35 -05:00
mp.h change mpdigit to uint -- 64-bit mp library not so working 2007-01-15 00:32:17 +00:00
mux.h In non-blocking recv functions in libmux and libdraw, 2006-11-04 18:46:00 +00:00
ndb.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
nfs3.h extra 2006-05-05 02:42:57 +00:00
plumb.h plumbunmount 2006-06-25 23:50:09 +00:00
regexp.h new files 2003-11-23 18:25:35 +00:00
regexp9.h checkpoint 2005-01-14 03:45:44 +00:00
sunrpc.h Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
thread.h libthread: add threadspawnd 2012-10-22 12:32:09 -04:00
u.h lib9: use opendir/readdir to read directories 2020-05-17 20:15:41 -04:00
utf.h convert to 4-byte UTF-8 and 32-bit Rune 2009-09-11 17:03:06 -04:00
venti.h libventi: add functions vtsha1 and vtsha1check 2012-01-21 10:01:20 +01:00