GayBSD documentation tree
- It now initializes the buffer to a known-good state (length of 0) so that you can't do a buffer overrun by reading it without writing to it. - It doesn't include the trailing null character in 'len' and always leaves room for it during writes by restricting writes to writing only 255 chars, but letting reads read 256 chars. This means after init you can do a read of one byte to get an empty string, and if you write "foo" (3 bytes) you can read back "foo\0" (I think this is the original intent). Letting 'len' not hold the null simplifies a fair bit of logic in write. - Use 'td' for thread pointers, not 'p' (which is from when this was a 'struct proc *'). - Some style fixes. - Don't ever set uio_offset directly, uiomove() already changes it, and in fact we should read it after the write to handle partial writes. Submitted by: jhb Approved by: bcr (mentor, implicit) |
||
---|---|---|
bn_BD.ISO10646-1 | ||
da_DK.ISO8859-1 | ||
de_DE.ISO8859-1 | ||
el_GR.ISO8859-7 | ||
en_US.ISO8859-1 | ||
es_ES.ISO8859-1 | ||
fr_FR.ISO8859-1 | ||
hu_HU.ISO8859-2 | ||
it_IT.ISO8859-15 | ||
ja_JP.eucJP | ||
mn_MN.UTF-8 | ||
nl_NL.ISO8859-1 | ||
no_NO.ISO8859-1 | ||
pl_PL.ISO8859-2 | ||
pt_BR.ISO8859-1 | ||
release | ||
ru_RU.KOI8-R | ||
share | ||
sr_YU.ISO8859-2 | ||
tr_TR.ISO8859-9 | ||
zh_CN.GB2312 | ||
zh_TW.Big5 | ||
Makefile | ||
README |
$FreeBSD$ If you plan on building a local copy of the FreeBSD documentation, or using our toolchain in your own projects, please read http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/fdp-primer/ for information about the tools and formatting languages we use. Chapter 2 covers the software and related items you will need to install.