9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] irc answers - man and memmove
@ 2005-12-05 12:07 Russ Cox
  2005-12-05 19:07 ` Sascha Retzki
  2005-12-06  1:09 ` Paul Lalonde
  0 siblings, 2 replies; 37+ messages in thread
From: Russ Cox @ 2005-12-05 12:07 UTC (permalink / raw)
  To: 9fans

(Sorry, don't have email addresses for these people.)

sretzki   interesting, one of the biggest problems I have with
          plan9 is that functions in manpages are handled as
          normal words, instead of e.g. postfixing every function
          with ()
          but I guess that is just me and personal taste

fgb       ah, yes
          I think it's because the manuals are intended to be
          printed too

sretzki   Well, it is not that awfull, most times, it is clear.
          There is no such English word like "alloctree". Just
          that they are capitalized at the start of sentences,
          but you look at the prototype at the beginning of the
          manpage, anyway
          it becomes interesting if the function is a valid English
          word, like "respond" in 9p(2) :)

If you read the pages with man -P, which shows you the typeset
version, these names will be in italics, which should make them
easier for you to recognize as function names.  The manual is,
as fgb and man(1) point out, intended to be typeset.

equuelus  which file(s) do i need to include when i want to use
          memcpy in the kernel, tried #include "libc.h", but
          that didn't work. anyideas?

Use memmove instead, which has the same definition on all systems.
See memory(3):

     BUGS
          ANSI C does not require memcpy to handle overlapping source
          and destination; on Plan 9, it does, so memmove and memcpy
          behave identically.

Russ


^ permalink raw reply	[flat|nested] 37+ messages in thread

end of thread, other threads:[~2005-12-08  4:55 UTC | newest]

Thread overview: 37+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-05 12:07 [9fans] irc answers - man and memmove Russ Cox
2005-12-05 19:07 ` Sascha Retzki
2005-12-06  1:09 ` Paul Lalonde
2005-12-06  1:14   ` Rob Pike
2005-12-06  1:17     ` Paul Lalonde
2005-12-06  1:48       ` Russ Cox
2005-12-07  9:57         ` Gorka guardiola
2005-12-07 10:41           ` Lucio De Re
2005-12-06  1:22     ` erik quanstrom
2005-12-06  6:31     ` [9fans] Capitalization in man pages Lyndon Nerenberg
2005-12-06  7:01       ` Rob Pike
2005-12-06  9:44         ` Charles Forsyth
2005-12-06 11:01         ` Lyndon Nerenberg
2005-12-06 11:17           ` Charles Forsyth
2005-12-06 11:27             ` Lyndon Nerenberg
2005-12-06 11:12         ` Lyndon Nerenberg
2005-12-06 11:18           ` Lucio De Re
2005-12-06 12:22         ` Lyndon Nerenberg
2005-12-06 12:32           ` Charles Forsyth
2005-12-06 12:40             ` Lyndon Nerenberg
2005-12-06 13:02             ` Lyndon Nerenberg
2005-12-06 13:41               ` Charles Forsyth
2005-12-06 13:54                 ` Lyndon Nerenberg
2005-12-06 14:30                   ` John Stalker
2005-12-06 18:11                     ` Charles Forsyth
2005-12-06 18:31                       ` Rob Pike
2005-12-08  3:58                         ` Lyndon Nerenberg
2005-12-08  4:10                           ` Russ Cox
2005-12-08  4:55                             ` Uriel
2005-12-07  3:56                       ` Jeff Sickel
2005-12-06 15:57               ` jmk
2005-12-07  0:11                 ` geoff
2005-12-07  0:17                   ` Francisco J Ballesteros
2005-12-07  0:22                   ` Steve Simon
2005-12-08  3:55                 ` Lyndon Nerenberg
2005-12-06 12:46         ` erik quanstrom
2005-12-06 15:02           ` Brantley Coile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).