jruoho
ff8dfca355
Xref tm(3).
2011-04-14 05:50:49 +00:00
he
b974c45b30
Move the forward declaration of _sys_readlink() outside of the #if,
...
so that the build succeeds even if _FORTIFY_SOURCE isn't > 0.
2011-04-13 12:40:54 +00:00
jruoho
b29fd93227
Collect also the division functions to single place, div(3).
2011-04-13 07:12:52 +00:00
jruoho
19606f522d
Collect abs(3), labs(3), llabs(3), and imaxabs(3) to a single small page.
2011-04-13 06:56:50 +00:00
jruoho
2ba8acef07
Fix another bug (no 'imaxint_t' type).
2011-04-13 06:41:11 +00:00
jruoho
5bbfa36d7b
Fix obvious bug.
2011-04-13 06:35:48 +00:00
jruoho
9d56ec39d7
Split out from ieee(3) also the remainder(3) and copysign(3) families.
2011-04-13 04:57:10 +00:00
christos
e6eca274ad
Fix SSP builds (Vladimir Kirillov)
2011-04-12 19:49:48 +00:00
jruoho
e615e396bd
Split out FUNCTIONS to make this tolerable to read. Also improve readability
...
with lists. Describe the functions in the order of appearance in SYNOPSIS.
Use CAVEATS instead of NOTES. Remove "man page spam". Etc.
2011-04-12 13:46:38 +00:00
jruoho
72e27957d4
Xref tm(3).
2011-04-12 08:40:34 +00:00
jruoho
47a900e8bc
Move some of the discussion from the messy ctime(3) to tm(3).
2011-04-12 08:39:26 +00:00
jruoho
9305ee0c33
Split the nextafter(3) family of functions to their own page and properly
...
document these.
2011-04-12 07:29:50 +00:00
jruoho
8ee666bc1f
.Dv NULL.
2011-04-12 05:41:22 +00:00
jruoho
28629a5be1
Use RETURN VALUES rather than DIAGNOSTIC for... return values.
2011-04-12 04:55:05 +00:00
mrg
e9f4b70f7d
rm -f ${.TARGET} before trying to > write to it; some how mine ended up
...
being mode 444 and the build failed.
2011-04-12 03:35:47 +00:00
roy
ed684e08ea
Clean up some compile warnings
2011-04-11 21:37:19 +00:00
roy
9a92225ded
POSIX says that term.h should define tgetstr and friends
...
Fixes PR lib/43941
2011-04-11 21:13:09 +00:00
drochner
997b81175f
let log(<0) return NaN rather than -inf in POSIX/XOPEN modes, as
...
requested in PR lib/41931 by Havard Eidnes (the PR refers to POSIX,
the OSF/1 manpage suggests that XOPEN should behave that way too)
being here, do the same to log10 and log2
2011-04-11 15:17:33 +00:00
jruoho
32e685d288
Markup improvements.
2011-04-11 05:59:11 +00:00
wiz
a4af43db58
exec is on a higher plane of existence.
2011-04-11 00:21:45 +00:00
joerg
61ae1a1c52
Define _REENT. Extend CPPFLAGS.
2011-04-10 16:47:39 +00:00
christos
a87c855671
Document O_CLOEXEC.
2011-04-10 15:46:15 +00:00
christos
037499057e
make infinityl match what gdtoa thinks.
2011-04-10 13:51:18 +00:00
matt
14d704c9e9
Add a workaround for older crt0.o that overwrite r2 (tcb pointer).
...
(save tcb pointer using _lwp_setprivate in ld.elf_so and retrieve the tcb
via _lwp_getprivate in libc and use it to restore the value in r2).
2011-04-07 02:19:28 +00:00
christos
962e9ad63f
fix long double infinity.
2011-04-06 21:55:36 +00:00
jruoho
6e3ec5b1a3
Fix PR # 41894.
2011-04-06 08:38:43 +00:00
plunky
c5f754b958
inc pointer, so we store the value in the correct place
2011-04-05 18:58:43 +00:00
plunky
63f86cb4b8
Don't add the passed in 'len' value while testing if the data
...
space is large enough, to handle the edge case where len is
large (up to SSIZE_MAX may be valid on some machines) causing
pointers to wrap around and the fail condition to be missed.
2011-04-05 18:19:04 +00:00
plunky
354f9cc3c3
correct inverted logic (if sdp_put_data fails, sdp_put_attr should fail)
2011-04-04 19:51:33 +00:00
plunky
0d74ee67d3
remove compile time guard from previous commit, it is not needed
...
(C99 guarantees [u]intmax types are at least 64-bits)
2011-04-04 18:29:47 +00:00
plunky
a468cfe851
handle overflowed values correctly,
...
also put a compile time guard to warn if INTMAX won't fit in INT64
(all our ports currently have INTMAX = INT64)
2011-04-04 16:19:25 +00:00
blymn
eff7afe2e8
Add man page link for define_key
2011-04-04 10:32:04 +00:00
jruoho
cbe6dc2e1c
Use .Fn for functions.
2011-04-04 08:00:53 +00:00
christos
8056bccd98
Protect against stack smashes (Maksymilian Arciemowicz)
2011-04-03 22:14:15 +00:00
jruoho
dc9fc4f125
.Xr uvm_map_protect, not .Fn.
2011-04-03 06:54:30 +00:00
jruoho
f364f2ef05
Offset indent.
2011-04-03 06:05:21 +00:00
mbalmer
8ac2ff5d25
Fix misplaced parenthesis, from henning.petersen@t-online.de, thanks.
2011-04-02 10:22:09 +00:00
jruoho
132da5fb56
Offset indent.
2011-03-31 07:52:34 +00:00
jruoho
88d19f0f7c
.Li -> .Em.
2011-03-30 16:41:00 +00:00
jruoho
d1a07d838a
+ .Pp.
2011-03-30 16:37:09 +00:00
jruoho
423f8d7704
Improve -width.
2011-03-30 16:29:26 +00:00
blymn
3da4a766de
fflush the outfd after setting the cursor visibility so it takes effect
...
immediately.
2011-03-30 09:47:02 +00:00
jruoho
29a43bf561
From Henning Petersen in PR # 44641: C99 primitive type 'bool' used
...
as a variable name. Also small KNF, as in FreeBSD.
2011-03-30 08:22:01 +00:00
joerg
928f301be9
Rework TLS initialisation:
...
- Update TCB for the initial thread in pthread__initthread, not
pthread__init to get it valid as soon as possible.
- Don't overwrite the pt_tls field in pthread__initthread.
- Don't deallocate pt_tls in pthread__scrubthread. This worked more by
chance than by design.
- Handle freeing the TLS area in pthread_create after removing the
thread instance from the dead queue.
2011-03-30 00:03:26 +00:00
jruoho
cb0f983e60
Improve -width.
2011-03-29 18:54:54 +00:00
jmmv
255271589f
Extend pidfile(3) to support creating pid files in arbitrary locations.
...
If the argument provided to pidfile(3) contains a '/', then the value is
considered to be an absolute/relative path and the pid file is created
in the given location.
Otherwise, pidfile(3) behaves as before and treats the provided value as
a basename to construct a pid file in /var/run/<basename>.pid. This means
that to create a pid file named "foo.pid" in the current directory, one
must specify "./foo.pid".
2011-03-29 13:55:37 +00:00
martin
ecf8c9b0f0
ABI police: avoid cluttering global registers %g2 and %g7. Not quite there
...
yet for %g2, but the target is not very well defined. %g7 should be clean
now.
2011-03-28 11:19:12 +00:00
wiz
7091eebfa9
Whitespace and punctuation.
2011-03-27 22:55:07 +00:00
wiz
971b386cde
Oh no -- a space! get rid of it, quick.
2011-03-27 22:51:35 +00:00
njoly
119aff4da3
Fix sigprocmask section (3 -> 2).
2011-03-27 12:53:16 +00:00