Mercurial > ~mikael > mcabber > hg
view mcabber/doc/manpage.css @ 1497:35020a2ed115
Do not use srand()/rand() if better alternatives exist (mirabilos)
arc4random(3) is a self-seeding PRNG available on a lot of OSes (all BSDs,
Darwin / Mac OSX, Interix / Microsoft® Services for Unix, Windows® 2003SR1,
Windows® Vista, Debian with the new libbsd package installed, ???) and much
better than srand(3)/rand(3).
Thanks to GNU autoconf, this can be made portable.
http://www.mirbsd.org/man/arc4random.3
//mirabilos
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Mon, 30 Jun 2008 23:13:50 +0200 |
parents | 78c645333fb7 |
children |
line wrap: on
line source
/* AsciiDoc manpage stylesheet. */ BODY { background-color: #FFD; } /* Man page text is indented from headings. */ h1 { border-bottom: solid 2px; } h2 { border-bottom: dashed 1px; } p,ul,ol,dl,h4,h5 { padding: 0 2%; } table { padding: 0 2%; } /* Man page emphasis is always bold. */ dt { font-style: normal; font-weight: bold; margin-top : 10px; margin-left: 0 } em { font-style: normal; font-weight: bold; } div#synopsis p { } div.literalparagraph { margin: 0 10%; } div.literalblock { margin: 0 10%; } div.listingblock { margin: 0 10%; }