Warren Block
9bb650e5d4
Whitespace-only fixes, translators please ignore.
2014-01-14 23:52:09 +00:00
Gabor Kovesdan
24d129e8d1
- Definitively upgrade to DocBook 5.0
2013-11-07 15:39:28 +00:00
Gabor Kovesdan
b1f6349527
- MFH
2013-03-20 21:05:33 +00:00
Eitan Adler
fbbf024e83
Some additional changes from jhb:
...
- 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)
2013-03-17 02:06:36 +00:00
Gabor Kovesdan
3ab2d87bc1
- MFH
2013-02-18 15:29:06 +00:00
Eitan Adler
c7122fa8aa
All the bits about MAKEDEV and mknod should be removed. They haven't
...
been necessary since 4.x.
Noted by: jhb
Approved by: bcr (mentor)
2013-02-16 17:47:00 +00:00
Eitan Adler
3a68731f51
Minor wording niggles
...
Submitted by: bjk
Approved by: bcr (mentor)
2013-02-14 14:20:32 +00:00
Eitan Adler
46bc121ee5
Fix indentation and whitespace
...
Translators may ignore
Approved by: bcr (mentor)
2013-02-11 13:46:30 +00:00
Eitan Adler
f864914934
Fix indentation.
...
Translators may probably ignore.
Approved by: bcr (mentor)
2013-02-11 13:46:28 +00:00
Eitan Adler
b161de5a10
Fix igor nit picks
...
Approved by: bcr (mentor)
2013-02-11 13:46:26 +00:00
Eitan Adler
2c78fe9dfe
Fix whitespace
...
Translators can ignore
Approved by: bcr (mentor)
2013-02-11 13:46:24 +00:00
Rene Ladan
28810c49ca
Some 'igor -z' improvements.
...
Approved by: gjb (mentor)
2013-02-11 00:02:07 +00:00
Gabor Kovesdan
a06603e1e8
- MFH
2013-02-05 09:14:34 +00:00
Gabor Kovesdan
d95165dc16
- Make the English documentation valid XML
2013-01-21 17:37:33 +00:00
Benedict Reuschling
c28ffd3535
Fix two typos in the same comment.
2013-01-12 16:27:30 +00:00
Eitan Adler
5026d072b1
Correct dumb error on my part: -< and -> are two different sets of
...
characters.
Submitted by: Chip Senkbeil <chip.senkbeil@gmail.com>
Approved by: bcr (mentor)
2012-12-03 13:26:00 +00:00
Eitan Adler
0dd2935666
Fix typos
...
Submitted by: bjk
Approved by: bcr (mentor)
2012-11-29 13:13:59 +00:00
Eitan Adler
dd3f5884a9
Minor tweaks to the example code that I had forgotten to migrate
...
from code to documentation.
Submitted by: gonzo
Approved by: bcr (mentor)
2012-11-27 19:34:45 +00:00
Eitan Adler
008d649c14
Remove obsolete links which are now 404s (or worse)
...
Approved by: bcr (mentor)
2012-11-27 15:30:43 +00:00
Eitan Adler
ac36ffe323
Modernize the example echo module and fix some style(9) issues in the
...
code.
Reviewed by: alfred (code)
Reviewed by: gonzo (code)
Reviewed by: ehaupt (code)
Approved by: bcr (mentor)
2012-11-27 15:30:40 +00:00
Eitan Adler
2d84158050
Remove obsolete comments from the architecture handbook.
...
Approved by: bcr (mentor)
2012-11-21 13:57:09 +00:00
Eitan Adler
ee9afa89e4
Remove ancient example code from the architecture handbook.
...
Approved by: bcr (mentor)
2012-11-17 06:02:41 +00:00
Gabor Kovesdan
b4346b9b2d
- Rename .sgml files to .xml
...
- Reflect the rename in referencing files
Approved by: doceng (implicit)
2012-10-01 09:53:01 +00:00
Gabor Kovesdan
9c243757ef
- XML declarations should use IANA encoding names
...
Pointed out by: hrs
2012-09-14 17:47:48 +00:00
Gabor Kovesdan
2e51ec7022
- Strip unnecessary trailing spaces
...
Approved by: doceng (implicit)
2012-08-21 19:16:02 +00:00
Gabor Kovesdan
74586f38c6
- Remove PSGML comments since they are not very useful after the XML
...
migration
Approved by: doceng (implicit)
No objection from: doc@, www@
2012-08-07 23:31:39 +00:00
Gabor Kovesdan
3cdf4e4922
- XMLify English books
...
Approved by: doceng (implicit)
2012-06-21 16:04:40 +00:00
Chin-San Huang
697b1c335a
- According to the module(9) man page, the return value for
...
unrecognized values is EOPNOTSUPP, not EINVAL.
Noticed by: kevlo
2007-07-16 13:55:59 +00:00
Maxim Konovalov
6e14f80bcc
o Fix a couple off-by-one errors, style(9).
2006-04-15 20:00:35 +00:00
Maxim Konovalov
13be634c09
o Add missed 'typedef'.
...
PR: docs/78062
Submitted by: ALeine
o Remove unused variable.
2006-04-14 11:14:55 +00:00
Xin LI
e140896ec8
Escape <, >, &'s, plus some cleanups against the SGML. There should not
...
be any content changes involved in this commit, however, localization
teams are encouraged to catch up with this change.
Requested by: intron at intron ac
Reviewed by: Niclas Zeising <lothrandil at n00b apagnu se>
Glanced by: simon
2006-01-05 20:03:39 +00:00
Marc Fonvieille
ee69cc70cd
Fix links to daemonnews.org
2005-07-21 09:23:06 +00:00
Murray Stokely
3b334d4892
Index this chapter.
2005-05-14 18:38:29 +00:00
Murray Stokely
19e42de8a3
Use proper <chapterinfo><authorgroup> sections to record contributions
...
rather than ad-hoc <paras> at beginning of chapters.
2005-05-04 23:56:46 +00:00
Murray Stokely
59c15dde22
Use &unix; macro for conistent capitalization of Unix throughout this
...
book.
2005-05-04 15:44:19 +00:00
John Baldwin
53bd474e4d
Update the sample 'echo' character device driver for 5.x:
...
- Use an dynamic major number rather than a static one.
- Use 'struct cdev *' rather than 'dev_t'.
- Add d_version field to echo_devsw.
- Use malloc()/free() rather than the macros.
Submitted by: Karl Andersson karland at home dot se (2,3)
2004-10-29 19:59:24 +00:00
Ken Smith
0c6adeff9f
- A little new content for the Architecture Manual describing
...
what happened to the traditional UNIX block devices.
Approved: blackend (mentor)
Reviewed: phk (he actually rewrote most of it...)
2003-10-24 18:45:26 +00:00
Hiten Pandya
bf2dbf306a
Fix an off-by-one error in the example code.
...
PR: docs/55445
Submitted by: Rui Lopes <rui@ruilopes.com>
Approved by: des (mentor)
2003-10-09 09:48:41 +00:00
Ken Smith
0faa41e1ff
- "whitespace change" that coverts existing driver example code
...
to be style(9) compliant, matching format of new driver code
Approved: blackend (mentor)
2003-09-25 12:52:06 +00:00
Ken Smith
c6674adc3d
- add example FreeBSD 5.X driver submitted by S<F8>ren (Xride) Straarup
...
(driver tested on i386 and sparc64 platforms)
- minor formatting fixes (add <example></example>)
- minor spelling/grammar fixes
Approved: blackend (mentor)
2003-09-25 12:46:14 +00:00
Peter Pentchev
1f359cbbab
/tmp/msg
2003-01-12 18:20:55 +00:00
Marc Fonvieille
01bcf1ded6
Add infos about devfs(5) where needed.
...
Submitted by: keramida
2002-12-02 21:11:55 +00:00
Ceri Davies
2b6ce9005a
Make consistent use of <userinput>.
...
PR: docs/41286
Submitted by: Martin Heinen <martin@sumuk.de>
2002-08-27 16:58:05 +00:00
Tom Rhodes
d4b003e30a
FreeBSD documentation project prefers to use manual pages over man pages,
...
hence some documents should reflect this.
Tossed around on: -doc -developers
2002-07-11 19:08:31 +00:00
Ceri Davies
4059045d53
Americanise^H^ze (s/behaviour/behavior/g).
2002-05-22 14:27:13 +00:00
Tom Rhodes
9ba764ae23
Consistancy checks: s/file system/filesystem/g
2002-05-16 01:42:28 +00:00
Giorgos Keramidas
4e6b932de3
Now where did I put that ispell?
...
Fix typo introduced in last commit:
priviledged -> privileged
Submitted by: dannyboy
Pointy hat to: keramida
2002-02-17 01:00:34 +00:00
Giorgos Keramidas
29fa736d61
Change "administrator commands" to "priviledged commands".
2002-02-16 22:28:08 +00:00
Giorgos Keramidas
45ddfacf00
Add missing fullstop.
...
Misc grammar fixes.
PR: docs/34914
Submitted by: Ceri <setantae@submonkey.net>
2002-02-16 22:17:18 +00:00
Giorgos Keramidas
c4d8816e3d
Remove whitespace right before punctuation marks in running text.
2002-02-14 13:59:44 +00:00