jdolecek
07506ce5eb
update to match current common implementation on NetBSD - [f]truncate()
...
normally lengtens the file if it's shorter than specified length
also change wording slighly, to match wording in SUS
XXX someone should check how much of SUS truncate(2) specification is true
XXX on NetBSD and update this manpage accordingly
2000-05-28 09:41:52 +00:00
thorpej
d36becd30f
p_schedflags doesn't exist anymore; just set it to zero for now,
...
although we'll be able to get the correct info through kmem
groveling later.
2000-05-27 01:03:00 +00:00
simonb
a9f690ae2a
Add kvm interface to the new sysctls:
...
kvm_getproc2() -> sysctl(KERN_PROC2)
kvm_getargv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ARGV)
kvm_getenvv2() -> sysctl(KERN_PROC_ARGS, KERN_PROC_ENV)
Add new KVM_NO_FILES flag to kvm_open*() - set up enough state to
use the above calls without having to open any kernel files.
XXX: kvm_getprocs.3 and kvm_open.3 to be updated soon.
2000-05-26 02:42:21 +00:00
jdc
c1ea940db9
Send 'ks' sequence from first call to keypad(win, TRUE) only and not from
...
wgetch(). Don't send 'ke' sequence from keypad(win, FALSE) or wgetch().
This makes us compatible with Solaris.
Suggested by ITOH Yasufumi.
2000-05-25 06:46:26 +00:00
perseant
7438415348
Add man pages for LFS syscalls
2000-05-24 21:54:59 +00:00
itojun
922ffb6256
correct FILES section. mention IPv6/IPsec headers.
2000-05-23 12:35:34 +00:00
itojun
ff6b22b6fc
s/udp6.sendmax/udp6.sendspace/
2000-05-23 12:27:27 +00:00
tron
b4969ca513
Fix an alignment problem introduced by the patch for PR lib/8032.
...
Fixes PR lib/10048 by J.T. Conklin.
2000-05-23 07:03:10 +00:00
itojun
7f92f9071a
correct table formatting for net.inet.*.
...
we do not have net.inet6.tcp6.
2000-05-22 15:13:05 +00:00
jdc
76e63b5fc4
Use __restartwin() in reset_prog_mode() and __stopwin() in
...
reset_shell_mode().
2000-05-22 05:54:37 +00:00
itojun
273595e782
add PF_INET6.
2000-05-22 05:06:20 +00:00
simonb
ecce47356a
Disable malloc's hints to the kernel - now that the madvise() syscall
...
actually does something, this can be expensive. From discussion on
current-users.
Note that the man page is already correct - we imported malloc.c from
FreeBSD before they made the same change but malloc.3 after...
2000-05-20 15:13:31 +00:00
mycroft
94f8eb040a
GC __FORCEPAINT.
2000-05-20 15:12:15 +00:00
blymn
22a94f7041
* Removed variable names from ansi style prototype
...
* Add -I. to CPPFLAGS
* Added new function t_agetstr which dynamically allocates area buffer.
2000-05-20 13:55:10 +00:00
mycroft
179e2ccef2
Fix a silly bug that caused blanks to always be redrawn on dirty lines in
...
curscr. This usually manifested itself as a very slow redraw after suspend.
2000-05-19 16:00:52 +00:00
mycroft
8a4ca8617d
Be more careful with the first/last pointers when untouching.
2000-05-19 07:39:20 +00:00
mycroft
d766988531
More microoptimization, and explicitly skip lines that are not dirty.
2000-05-19 07:39:02 +00:00
mycroft
c23ccd01a0
Two optimizations in quickch():
...
* Don't bother comparing lines that are not dirty when looking for the top
and bottom regions.
* In the loop that searches for the largest equal region, do the totally
half-assed hack of splitting the inner loop into two parts -- comparing
only the hash values the first time, and doing memcmp()s the second time.
This makes many of my test cases >100x as fast.
XXX This code needs a lot more work.
2000-05-19 04:15:55 +00:00
mycroft
5e7069506f
We already initialize UP and BC when we fire up Curses, so pass a null pointer
...
to t_goto() to avoid doing it again... and again... and...
2000-05-19 01:05:43 +00:00
mycroft
3a14289c85
Clear any cached __LEAVEOK flag in __virtscr when refreshing another window.
2000-05-18 20:37:42 +00:00
jdc
985e3d49d7
Send, if necessary, 'ks' or 'ke' sequences from keypad() and wgetch().
...
Fixes PR 10116.
2000-05-17 16:23:49 +00:00
itojun
854cf60c06
nroff correction. from openbsd.
2000-05-17 14:36:41 +00:00
itojun
4d829aa5ea
linebreak fix (nroff tradition)
2000-05-17 14:31:06 +00:00
itojun
4b9654f602
typo in function name
2000-05-17 14:24:59 +00:00
itojun
cc50260947
correct use of .Dt. nuke space at EOL. wording (duplicated verb).
2000-05-17 14:20:21 +00:00
fair
098894016b
A little nroff clean up, since I was here to deal with PR 9727,
...
but someone beat me to it, and didn't log that...
2000-05-17 10:24:13 +00:00
fair
dc17a3ff45
Comment out a paragraph describing behavior which NetBSD's fopen(3) does
...
not exhibit, per PR 6072.
2000-05-17 10:09:35 +00:00
is
20b532d4ea
Workaround no longer needed, now that the compiler is fixed.
2000-05-16 22:07:30 +00:00
is
7c1da7b0c9
Regenerate, after changing internal label used for linkage to the wrapper
...
scripts.
2000-05-16 19:07:35 +00:00
is
9ba8ffc293
Change libm-68060 internal, but file external labels (used for linkage between
...
wrapper functions and the Motorola code) to guarantee consistent protection
of the user namespace.
2000-05-16 19:05:37 +00:00
itojun
1cac955ef7
remove unnecessary _DISGASSERT().
2000-05-15 17:11:29 +00:00
itojun
614637a5f5
use getifaddrs instead of SIOCGIFCONF (do we need to keep old code around?)
...
avoid buffer overrun, when you configure more than 20 IPv4 broadcast addresses
on a node.
2000-05-15 17:06:05 +00:00
christos
cd8eacbb27
don't dump core on empty files.
2000-05-15 12:15:38 +00:00
bouyer
215b7aab97
Use the same copyrigth notice everywhere.
2000-05-15 06:26:42 +00:00
lukem
84f71cf03e
area is allowed to be NULL, so don't _DIAGASSERT it.
2000-05-14 01:14:29 +00:00
is
287de693da
Regenerated files after this change:
...
Move each wrapper function to its own source file, such that redefining one
function doesn't give link errors when another one is pulled in from the
library.
Problem discovered by Klaus Klein.
2000-05-12 20:11:11 +00:00
is
183dfce153
Move each wrapper function to its own source file, such that redefining one
...
function doesn't give link errors when another one is pulled in from the
library.
Problem discovered by Klaus Klein.
2000-05-12 20:08:04 +00:00
mjl
4d8aac4dbb
Correct typos which prevent man pages from being installed.
...
Fixes PR/10104 by Greg Woods.
2000-05-12 18:31:55 +00:00
christos
0a73d7c493
- use strchr instead of index
...
- whitespace fixes
- tgetstr only looks at the first two characters; t_getstr looks at the whole
string.
- fix DIAGASSERT brokenness.
2000-05-12 15:25:25 +00:00
jdc
5133f6e158
libcurses minor++.
2000-05-11 22:56:46 +00:00
jdc
8d997082f6
Documemt getattrs(), delay_output() and napms().
...
Document functions (get*).
2000-05-11 22:54:47 +00:00
jdc
291b7c9d24
Add pause.c.
2000-05-11 22:51:10 +00:00
jdc
6cce64a34b
Add getattrs(), delay_output() and napms().
2000-05-11 22:50:23 +00:00
jdc
225ce34fd7
New functions delay_output() and napms().
2000-05-11 22:49:13 +00:00
jdc
4cb1d6d3b9
New function getattrs().
...
Add win to debug output.
2000-05-11 22:44:45 +00:00
blymn
d013bbe3a0
Remove names from prototype decalarations.
2000-05-11 14:01:28 +00:00
blymn
fc196e1de6
* Applied patch by mrg to remove variable names from function
...
prototypes to prevent name space collisions.
2000-05-11 12:05:39 +00:00
itojun
5cf4e14fea
$NetBSD$
2000-05-11 03:08:46 +00:00
itojun
e2a25fa8de
update internet draft #. correct samples.
...
sync getnameinfo function prototype with /usr/include/netdb.h (not
standard conformant yet, needs update - will do soon)
2000-05-11 03:08:06 +00:00
blymn
fac11bb07f
Update man page to document new tgetent behaviour.
2000-05-10 11:13:35 +00:00