christos
713ea1897d
cleanup saving and restoring errno, and make it similar.
2011-05-18 01:59:39 +00:00
joerg
c98c805c05
Trailing white space
2011-05-17 07:10:39 +00:00
enami
bde048cc49
Use Pq or Po macro for better output rather than putting raw open paren
...
at the end of line.
2011-05-17 03:35:38 +00:00
christos
ec3000cfb2
PR/44959: Henning Petersen: glob forgets to closedir on out of space condition.
2011-05-14 22:44:06 +00:00
nonaka
9af4d11fa4
Use "_end" instead of "end" for consistency with other architectures.
2011-05-13 23:14:36 +00:00
christos
1ff5a5dfd6
don't let readlink trash errno.;
2011-05-13 23:11:00 +00:00
jruoho
fa096afe20
Xref raise_default_signal(3).
2011-05-09 09:06:21 +00:00
wiz
93cfe89ec0
Add missing preposition.
2011-05-05 07:36:44 +00:00
jruoho
19742b4964
Fix lead paragraph.
2011-05-05 05:58:14 +00:00
wiz
daf04c06a3
Remove \*[q] -- not necessary, just use plain double quotes instead.
2011-05-03 09:36:24 +00:00
jruoho
5517207853
Xref bswap(3). Simplify STANDARDS.
2011-05-03 04:07:39 +00:00
jruoho
db3b8477d4
Clarify STANDARDS (i.e. cf. ualarm(3) is no longer in POSIX).
2011-05-02 17:34:05 +00:00
jruoho
a192422bb6
Note also that the interaction between setitimer(2) and alarm(3) or sleep(3)
...
is unspecified.
2011-05-02 17:14:20 +00:00
jruoho
04b57bd832
Remove NOTES as it is documented in itimerval(3). Remove #ifdefs from
...
SYNOPSIS (these are visible enough in the body of the text). Use a list for
the timers. Improve wording and markup.
2011-05-02 17:01:52 +00:00
christos
89d0622f3e
Start eliminating "super-user" from the documentation.
2011-05-01 02:54:22 +00:00
christos
0a101028d4
nice should always return EPERM, not EACCES
2011-05-01 02:49:54 +00:00
martin
251de2dee0
Save a few global registers during set/longjmp - at least the application
...
registers and the only currently used system register (%g7).
Sparc now passes the setjmp tests (and should be able to build perl again).
2011-04-30 23:41:12 +00:00
martin
9881f8de04
Fix previous: the way we calculate, we need to test the size of sigjmp_buf
2011-04-30 23:39:08 +00:00
martin
c670087695
Add another compile time assert: catch overflows of jmp_buf
2011-04-30 23:30:27 +00:00
martin
b549c67469
Save/restore some global registers (sigsetjmp compatible). Does not realy
...
make a difference currently, but is a hard to spot blackhole if something
ever starts using the application registers.
2011-04-30 19:43:17 +00:00
martin
44283e6e19
Rearange jmp_buf content again: storing the sigsetjmp() save_mask midway
...
inside the environment is not a good idea, we may overwrite it when
fetching other details of the sigjmp environment.
Instead move it to the very end again.
Do not bother to save volatile (caller saved) global registers.
Fixes PR port-sparc64/44918.
2011-04-30 19:39:38 +00:00
wiz
3ecc6ccf87
Mark up NULL.
2011-04-29 09:43:28 +00:00
matt
e148e1968d
Use correct CALLFRAME_SIZ depending on ABI.
2011-04-29 08:05:22 +00:00
wiz
83e8266979
Sort sections and errors.
2011-04-28 16:34:01 +00:00
wiz
1536c249f7
Markup fixes.
2011-04-28 16:16:23 +00:00
wiz
29e0fd69e9
Sort sections.
2011-04-28 12:00:55 +00:00
wiz
3652074286
Sort ERRORS.
2011-04-28 11:58:50 +00:00
wiz
560b21b44e
Fix a typo.
2011-04-28 11:56:26 +00:00
wiz
dbd13d8219
Spelling.
2011-04-28 11:22:44 +00:00
martin
d21307a5d2
Fix offsets used in the assembly code to save global registers into a
...
jmp_buf, add a compile time assert to catch this kind of divergence
in the C code.
Move the fixed "%npc = %pc + 4" computation to longjmp, this frees
the sigcontext sc_npc value. Use this space to save the savemask
for siglongjmp (we have run out of space behind the globals).
Fixes the tests/lib/libc/setjmp/t_threadjmp tests, and also hopefully
fixes PR port-sparc64/44902.
2011-04-27 21:08:48 +00:00
wiz
3f4e964f9f
Sort errors.
2011-04-25 22:38:34 +00:00
enami
9aed075519
- Put empty line after the local variable definition in the sample code
...
to improve readability.
- Remove indirection operator to clarify error condition.
2011-04-20 23:37:51 +00:00
christos
57ddf70a57
sync with reality (prototype of open is varyadic)
2011-04-20 19:57:58 +00:00
christos
4957358ed5
Correct check for snprintf() overflow via Maksymilian Arciemowicz from FreeBSD.
...
(the bt one was ok, but set errno and make it the same for consistency).
[to be pulled up]
2011-04-17 23:12:38 +00:00
jruoho
ff8dfca355
Xref tm(3).
2011-04-14 05:50:49 +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
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
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
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
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