190992 Commits

Author SHA1 Message Date
ahoka
550ce899de Handle the HAVE_NBTOOL_CONFIG_H case.
Fixes hp700 build with objdir.
2010-05-17 09:13:03 +00:00
jruoho
50faa93541 Fix .Dt. 2010-05-17 08:09:20 +00:00
jruoho
5717af9360 Reference timeval(3). 2010-05-17 07:22:03 +00:00
jruoho
39a44ad3b2 Add a manual page that describes the basic structures in <sys/time.h>. 2010-05-17 07:10:15 +00:00
jruoho
3dc60799a1 Try to describe the struct stat instead of copy-pasting it from the header.
Use xrefs to avoid duplication of effort. Note the S_IS*() macros.
2010-05-17 05:20:05 +00:00
jruoho
cbe8ce8cad Actually the previous is wrong; all of these can set the errno either via
each other or via something like malloc(3) or lseek(2).
2010-05-17 03:09:06 +00:00
jruoho
132817e96e Fix the note about errno in ERRORS; telldir(3), seekdir(3), and rewinddir(3)
do not set the errno.
2010-05-17 03:04:09 +00:00
jruoho
c7e72bf2a1 Fix the SYNOPSIS. 2010-05-16 15:56:39 +00:00
jruoho
15ccf6ccbe As was done with the man-page for <sys/types.h>, move dir(5) to dirent(3).
Add a table describing the stat <-> dirent types. Note IFTODT() and DTTOIF().
2010-05-16 15:33:29 +00:00
jruoho
9127e9f198 .Dv. 2010-05-16 12:36:32 +00:00
jruoho
e55b912b81 Add the Butenhof's book to SEE ALSO. (It was decent enough when I read it
years ago, but if there are better ones, please feel free to add those.)
2010-05-16 12:23:32 +00:00
jruoho
8292b0e60f Enumerate the functions in a table instead of a big SEE ALSO.
Also some stylistic changes.
2010-05-16 12:20:00 +00:00
wiz
972863c67c Sort sections. Fix typo. Fix xref. Improve wording in one case. 2010-05-16 11:37:06 +00:00
phx
5929d8aee3 Make netboot generate a BTINFO_NET bootinfo node for the Synology sk(4) NIC.
It will pass the MAC address, which is read from Flash ROM, into the kernel.
The kernel creates a "mac-address" device-property, which is used by sk(4),
when given, before reading the MAC from its EEPROM.
2010-05-16 11:27:49 +00:00
martin
5a6d00fa0a From Matt Thomas, suggested upstream:
* atof-generic.c (atof_generic): recognize snan and qnan in
	addition to nan and inf.
	* atof-vax.c (flonum_gen2vax): deal properly with nan, snan, qnan,
	and +Inf and -Inf codes.

This fixes PR toolchain/43303.
2010-05-16 11:20:01 +00:00
jruoho
120678dcc8 Add a note that the "whiteout inode", DT_WHT, is an implementation detail
and should not be seen in normal user applications.
2010-05-16 08:56:17 +00:00
jruoho
fb6ead4add At least one markup-typo slipped through the cracks. 2010-05-16 08:01:14 +00:00
jruoho
ce1c570bfe Rewrite much of the page.
Provide much more detailed and structured discussion. Notably, try to gather
some of the conditions around the famous undefined behavior; these functions
(or the implementations) are quite prone to such behavior.

Add compatibility notes. (The big change here is that in SUSv4 it is no
longer mandated that the directory streams are implemented by using file
descriptors.)

XXX: Please proofread this. Consider also adding some additional notes. For
     instance, I left the semantics about "." and ".." out.  The returned
     errno's should be enumerated as well.
2010-05-16 07:52:58 +00:00
dholland
b500f55a59 and, erm, bump date too. 2010-05-16 07:40:53 +00:00
dholland
50d151d5f4 Grammar, clarification, and note that the rusage information is total
as opposed to strict subprocess only.
2010-05-16 07:40:13 +00:00
agc
8755cbec2a When setting up res (results), errs (error) and outs (outputs) streams,
change the pre-defined stdio streams to be denoted by "<stdout>" and
"<stderr>", to distinguish them from file names.

In netpgpkeys(1), send the default "res" (results) stream to stdout,
rather than stderr. Requested by Anon Ymous (and makes perfect sense).
2010-05-16 06:48:52 +00:00
agc
b4f06d28e0 Avoid a possible overwrite of a value in the (key, value) array, in
the event that a reference to the value is passed to the
netpgp_setvar() function as the new value.  Problem noted, cause
detected, and most of the fix contributed by, Anon Ymous.  Thanks!
2010-05-16 06:21:14 +00:00
jruoho
4dc3500d9a IMPLEMENTATION NOTES back to NOTES. 2010-05-16 05:18:35 +00:00
jruoho
20136dbf99 Use .An as documented in mdoc.samples(7). 2010-05-16 05:17:02 +00:00
agc
37bb0457f6 fix a piece of lint 2010-05-16 02:46:25 +00:00
joerg
6394298f1b Follow the Fundamental Theory of Algebra. Disallow factorising of
numbers less than 2 as it is not
- naturally unique (negative numbers)
- finite (0)
- non-empty (1)

Discussed with the kristaps and wiz
2010-05-15 21:22:39 +00:00
jakllsch
e8c35fc0ce Add register information for the EHCI 1.0 Appendix C Debug Port. 2010-05-15 20:47:23 +00:00
jakllsch
2882df3c23 Add Debug Descriptor structures and constants,
as well as symbolic identifiers for USB packet IDs.
2010-05-15 20:45:43 +00:00
tsutsui
6f304e5ae5 Set RI_NO_AUTO in ri_flg if init function is invoked from cnattach.
Untested. (3100 support seems somewhat broken, per gxemul output)
2010-05-15 20:31:10 +00:00
dholland
15fb978372 nfs_statvfs should return NFS_MAXNAMLEN, not MAXNAMLEN.
(Compile-tested only, but that should be ok)
2010-05-15 20:24:57 +00:00
jakllsch
88bc6695c3 Regen. 2010-05-15 20:11:41 +00:00
jakllsch
d42033694b Add NetChip (now PLX) vendor ID, as well as NET228[02] device IDs. 2010-05-15 20:10:37 +00:00
tsutsui
d648023c11 Set RI_NO_AUTO at correct place. Confirmed on EWS4800/360AD. 2010-05-15 16:35:37 +00:00
jruoho
e8196584bf Complete the information in the reference (authors, publisher, date, URL). 2010-05-15 16:20:03 +00:00
jruoho
3ac9958009 Minor markup improvements. 2010-05-15 15:53:42 +00:00
jruoho
f99f0278cc Move the more detailed discussion around the dirent-structure from
getdents(2) to dirent(5), and extend it with some compatibility notes.
2010-05-15 15:38:41 +00:00
nonaka
58d5f137df Added keyboard config files for Sharp WS003SH/WS007SH. 2010-05-15 15:34:09 +00:00
pgoyette
c795d9ed89 Remove repeated text "After filling..."
XXX Someone else can decide whether we should refer to "U.S.A." or to
XXX "the United States" in the parenthetical.
2010-05-15 13:54:52 +00:00
kiyohara
b554198674 Add definitions for Power Manager Registers.
Add some fields for USBHC_UHCRHDB.
2010-05-15 12:17:34 +00:00
kiyohara
5c2c106932 Add mutex.h. 2010-05-15 10:42:51 +00:00
tsutsui
bba639fc84 Set RI_NO_AUTO in ri_flg if init functions are invoked from cnattach.
Tested on NWS-3470D. xafb.c for NWS-5000 is untested.

XXX: isn't it better to have failsafe default than sprinkle RI_NO_AUTO
XXX: to avoid fatal silent hangup?
2010-05-15 10:01:44 +00:00
njoly
2d9ef70d9c Add some missing atf keywords to fix MKATF=no build. 2010-05-15 09:00:52 +00:00
tsutsui
a9edf8145e Clear RI_NO_AUTO in actual attach functions during autoconf(9)
for console devices that set the flag during consinit().
2010-05-15 08:53:26 +00:00
tsutsui
54faad2469 Set RI_NO_AUTO in ri_flg if fb_init() is invoked from cnattach.
Tested on Explora451.
2010-05-15 07:38:24 +00:00
tsutsui
83f23f325b Set RI_NO_AUTO in ri_flg if *fb_common_init() is invoked from cnattach.
Untested.
2010-05-15 07:01:37 +00:00
mrg
1fe1233e27 merge bozohttpd 20100512 2010-05-15 06:48:27 +00:00
tsutsui
2e8243bab8 Set RI_NO_AUTO in ri_flg if pvr_getdevconfig() is invoked from cninit.
Tested on gxemul.
2010-05-15 06:48:22 +00:00
tsutsui
d4bf3ab4f8 Set RI_NO_AUTO in cnattach function. Untested. 2010-05-15 06:39:06 +00:00
tsutsui
27c0c9462e Set RI_NO_AUTO in rip->ri_flg if tga_init() is invoked from cnattach. 2010-05-15 06:38:34 +00:00
isaki
e3288cc808 TERM=x68k -> vt220. sysinst works again. 2010-05-15 06:36:12 +00:00