Commit Graph

22 Commits

Author SHA1 Message Date
is b9243cdc97 repair edito in BUGS session. 1999-08-16 14:10:06 +00:00
perry 72ec01bc0e Restore some information about the page rounding behavior of these
functions, with a little bit of a caution that the page rounding
behavior isn't mentioned in standards documents that mention brk/sbrk.
Klaus removed this before, but I'm not sure why, and I've been unable
to reach him about the matter after trying for several days. The
information about the behavior has always been in the page and is
important for developers to know about.
1999-07-14 16:24:48 +00:00
kleink e79a283e47 XSH5: change function signature to `void *sbrk(intptr_t)'. 1999-07-12 21:55:19 +00:00
kleink d6127eeb14 Remove a paragraph from previous. 1999-07-12 14:51:10 +00:00
perry 0c91d3d222 Note that you can find out the system page size with sysconf(3). 1999-07-09 14:41:26 +00:00
perry f31cd6341c note in BUGS that the prototype of our sbrk is not standards compliant
and will need fixing.
1999-07-06 23:12:04 +00:00
perry eeebdec53e Clean up this mess a lot. I believe we still have the following
issues (at least):

1) sbrk is defined as returning char *, which violates XPG
2) I'm not clear on what happens if you try to sbrk() on a negative
incr that is less than the page size. I'm guessing "nothing", but we
should document this behavior.
3) XPG says some interesting things about whether new pages are
guaranteed zeroed. We say nothing about this. We should document our
behavior.
4) It isn't clear if *we* guarantee that malloc and sbrk can be mixed
in our API (I've documented that it isn't universally portable.)

We really should clean these up, too.
1999-07-06 16:36:15 +00:00
garbled 38c96853cf Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Wheee!
1999-03-22 19:44:33 +00:00
kleink 1f173d29a8 Fix a .Fa vs. .Fn bogon, and clarify somewhat. 1999-03-09 20:35:18 +00:00
kleink e2a4add9f7 brk(2) actually returns an int indicating success (0) or failure (-1). Also,
change its argument to void *.  (Both XSH5).
1999-03-09 20:33:22 +00:00
fair ebfcc842c8 Fix bad .Xr and some .Nm abuse 1998-04-29 19:19:15 +00:00
fair 03324faa09 fix mdoc references 1998-04-28 22:28:30 +00:00
perry a5c24028fa merge lite-2 1998-02-02 05:20:24 +00:00
hubertf f19d449a84 Typo: qetext -> etext; closes PR lib/4156 reported by entropy@tardis.bernstein.com 1997-09-27 19:23:34 +00:00
mikel ce6705faed replace <sys/types.h> with <unistd.h> and fix type of brk();
PRs 2938 and 3132.
also added xref to mmap(2).
1997-01-23 05:32:52 +00:00
cgd 4eab61bd40 merge with lite, keeping most local changes. clean up Ids 1995-02-27 12:31:34 +00:00
jtc 12d5be7f56 Fix spelling errors. 1994-01-10 23:54:08 +00:00
jtc 250b6aa06e Use "Er" for argument to -width in the lists in the ERROR sections --- so
the formatting is consistant.
1993-11-29 21:24:57 +00:00
jtc 9c4ad8fbd4 Misc manpage fixes. 1993-11-25 02:48:32 +00:00
jtc 6e9ac1805f Clean up manpages:
Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections.
  Use .At and .St macros instead of spelling out "Version 6 UNIX",
	"IEEE 1003.1-1988 (POSIX)", etc.
1993-11-25 00:38:17 +00:00
mycroft b1bd4afedc Add RCS indentifiers. 1993-08-01 07:42:49 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00