Commit Graph

13979 Commits

Author SHA1 Message Date
wiz
e54f45dc8a Fix xref. 2010-06-07 16:37:07 +00:00
wiz
e02d784273 Grammar and spacing fixes. 2010-06-07 16:33:45 +00:00
tnozaki
9efec5bce3 1. MB_LEN_MAX switch MD to MI.
2. unfortunately hppa's MB_LEN_MAX is defined incorrectly 6 instead of 32
   so we have to add more setlocale(3) __RENAME func, __setlocale50.
3. move setlocale1.c and setlocale32.c to lib/libc/compat/locale/*
   prepareing for next libc major crunk.
4. bump libc minor version.
2010-06-07 13:52:28 +00:00
pooka
388dad1711 no need to typecast in pathconf anymore 2010-06-07 11:23:07 +00:00
pooka
0e05405bd1 Reenable pathconf now that the retval argument is register_t. 2010-06-07 11:22:36 +00:00
pooka
a784ae74af Make retval argument for pathconf a register_t to match VOP_PATHCONF.
This makes the size the same on 64bit archs.  Don't bother bumping
any version, since you'd have explicitly had to jump through some
hoops to use pathconf before.
2010-06-07 11:21:31 +00:00
jruoho
35bff1e486 Remove some leftover .\" comments.
The sysctl variables will be described in sysctl(7).
2010-06-07 07:39:43 +00:00
jruoho
9921e5b526 Build links also for mq_timedreceive(3) and mq_timedsend(3). 2010-06-07 07:26:20 +00:00
jruoho
00b42ad814 Mostly refer to the main page, mq(3), in SEE ALSO. 2010-06-07 07:21:52 +00:00
jruoho
dfba418d38 Add mq(3), a manual page for the POSIX message queues. This tries to act as
a short introduction to the rationale and API, noting also some pros and cons.

rmind@: basically ok. Please feel free to adjust, correct, and extend.
2010-06-07 07:11:27 +00:00
dholland
4035b6ee7d Improve wording describing the behavior of the attributes argument, and
add reference to pthread_attr(3), as requested in PR 42871. The text
added is different from but based on a suggestion by Matthew Mondor.
2010-06-07 04:36:34 +00:00
pooka
a7bb34b4fd Actually, disable pathconf for a while longer: the retval needs a
little finetuning (not that everyone is jumping right to using it,
but fixing will have to wait until tomorrow, and who knows what
i'll forget during the night and how long it will eventually take).
2010-06-06 23:11:05 +00:00
pooka
1cfb9937ae Pass VOP_PATHCONF to backend file server. inspired by njoly. 2010-06-06 22:46:17 +00:00
pooka
aef13c83d0 signal pathconf in the vector of supported ops 2010-06-06 22:44:54 +00:00
tnozaki
0ab294f640 remove unused magic. 2010-06-05 16:37:13 +00:00
jruoho
bb1d0e97b1 Fix .Xr; dirent(5) -> dirent(3). 2010-06-04 05:42:24 +00:00
veego
51cdef0f36 Use MAP_FILE|MAP_SHARED instead of MAP_FILE for the flags parameter of mmap(2).
Patch is from martin.

Solves my own PR kern/43346
2010-06-03 12:40:52 +00:00
pooka
ae456b5717 Check return value of posix_memalign ... always helpful to not return
garbage memory in case of failure.
2010-06-02 18:15:35 +00:00
tnozaki
a07e73ee74 uint8_t -> unsigned char, int16_t -> short. 2010-06-02 16:04:52 +00:00
tnozaki
bf280d2720 remove duplicated towctrans internal function. 2010-06-02 15:47:25 +00:00
pooka
e3c273abc1 Don't pass "canfail" down to rumpuser_malloc -- there's quite little
we can do with that info way down there.  Instead, pass alignment.
Implement rumpuser_malloc() with posix_memalign().
2010-06-01 20:11:33 +00:00
christos
cbd798c94b tidy up memory allocation and don't unnecessarily print "./" before names. 2010-06-01 18:20:26 +00:00
tnozaki
d8217122b9 refactoring old locale-db(BSDCTYPE) loading method with mmap(2). 2010-06-01 18:00:28 +00:00
tnozaki
9a35d7972b more split ctype.h -> sys/ctype_inline.h, sys/ctype_bits.h 2010-06-01 13:52:07 +00:00
pooka
9970bb9e64 Support KTHREAD_JOINABLE/kthread_join(). Also fixes earlier bug
where all pthreads were created non-detached.
2010-05-31 23:09:29 +00:00
njoly
7d9c448d51 Consistently use `.Brq Dv XXX' across syscalls man pages, for NAME_MAX
and PATH_MAX.
2010-05-31 12:16:20 +00:00
drochner
5170f0046a another POSIX compliance fix: sigwait(3) should not use errno but
return the error code directly
2010-05-31 11:02:24 +00:00
drochner
690a7f09c9 -fix internal use of sigwaitinfo(2) by sigwait(3): The former returns
the signal number now, as required by POSIX. The latter should just
 return 0 on success. Fixes a mysql problem reported by Kurt Schreiner.
-document the new behavior of sigwaitinfo and sigtimedwait
-retain non-POSIX behavior for NetBSD-5 binary compatibility -- the fix
 would likely not be polled into the .0-branches, and having 5.0.x and
 5.x behave differently would be confusing. Besides that, it was
 documented in the manpage all the time.
2010-05-30 19:31:39 +00:00
tnozaki
cdd31057f2 remove redundant guard. 2010-05-30 11:36:12 +00:00
tnozaki
cd71bcf609 1. fix build problem CITRUS=no
2. make CITRUS={yes,no} knob friendly with libc/compat.
2010-05-30 08:28:53 +00:00
wiz
82776533ea New sentence, new line. 2010-05-30 07:57:08 +00:00
dholland
2264536172 Note briefly how to avoid the problem where 0 can be a valid successful
return as well as an error. Suggested by Robert Elz in follow up to PR 39392.
2010-05-29 20:32:18 +00:00
pgoyette
2ac5480827 Update libpci for change in pci_find{vendor,product} entrypoint names. 2010-05-25 08:35:47 +00:00
pgoyette
1365824bee Adapt libpci build to include new pci_verbose.c 2010-05-24 20:31:17 +00:00
tnozaki
04cc7786fc rework bulid breakage problem on linux.
ldef.h: s/1<<8/_CTYPE_CACHE_SIZE/
ctype_local.h: use limits.h instead of machine/limits.h
runetype_local.h: don't use HAVE_NBTOOL_CONFIG as evil way.
2010-05-22 18:15:21 +00:00
tnozaki
99f737b9cb fix cross build breakage under linux box, reported by Andreas Gustafsson, thanks!
runetype_local.h: don't include ctype_local.h when toolchain build.
2010-05-22 17:47:25 +00:00
tnozaki
b18f206e58 move __mb_len_max_runtime from rune_local.h -> setlocale_local.h. 2010-05-22 13:50:02 +00:00
tnozaki
bbed57c2e0 make _locale_impl_t.cache as pointer to maintain easily binary compatibility in future.
no ABI change was made.
2010-05-22 13:15:59 +00:00
tnozaki
32cc8c2e5f rune.h is not public, so merge with rune_local.h. 2010-05-22 08:13:18 +00:00
tnozaki
9763c57c60 rune.h is not public, so merge with rune_local.h 2010-05-22 07:18:43 +00:00
tnozaki
64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
2010-05-22 06:38:15 +00:00
pooka
33b074be7e add option string for no attribute cache
(foreseeing the odd event I might actually implement one some day)
2010-05-21 11:29:42 +00:00
pooka
335bcd0d3c mention extended attribute ops 2010-05-21 11:20:50 +00:00
pooka
0eb828b571 bump major of libs NEEDING libpuffs 2010-05-21 10:53:41 +00:00
pooka
55a238165a support extended attributes 2010-05-21 10:52:17 +00:00
pooka
c3be8a8cd5 * support extended attributes
* bump major due to structure growth
* add some spare space
* remove ABI sillyness
2010-05-21 10:50:52 +00:00
pooka
539062e7e1 adjust for protocol changes 2010-05-21 10:43:07 +00:00
pooka
651aab9fcd Don't try to print the names of messages we don't know about. 2010-05-21 08:46:14 +00:00
pooka
87467ad4b7 * fix typo
* fix "that's not supposed to be there" causing off-by-one in array
* make compile regardless of dev_t size
2010-05-20 13:07:28 +00:00
jruoho
3fe9db0422 Use standard section headers.
Xref vfs(9), which could be slightly more elaborate.
2010-05-20 05:43:54 +00:00