summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_scanf.c
Commit message (Collapse)AuthorAgeFilesLines
* Xen netback driver rewrite.ken2012-01-261-3/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | share/man/man4/Makefile, share/man/man4/xnb.4, sys/dev/xen/netback/netback.c, sys/dev/xen/netback/netback_unit_tests.c: Rewrote the netback driver for xen to attach properly via newbus and work properly in both HVM and PVM mode (only HVM is tested). Works with the in-tree FreeBSD netfront driver or the Windows netfront driver from SuSE. Has not been extensively tested with a Linux netfront driver. Does not implement LRO, TSO, or polling. Includes unit tests that may be run through sysctl after compiling with XNB_DEBUG defined. sys/dev/xen/blkback/blkback.c, sys/xen/interface/io/netif.h: Comment elaboration. sys/kern/uipc_mbuf.c: Fix page fault in kernel mode when calling m_print() on a null mbuf. Since m_print() is only used for debugging, there are no performance concerns for extra error checking code. sys/kern/subr_scanf.c: Add the "hh" and "ll" width specifiers from C99 to scanf(). A few callers were already using "ll" even though scanf() was handling it as "l". Submitted by: Alan Somers <alans@spectralogic.com> Submitted by: John Suykerbuyk <johns@spectralogic.com> Sponsored by: Spectra Logic MFC after: 1 week Reviewed by: ken
* Remove advertising clause from University of California Regent's license,imp2004-04-051-4/+0
| | | | | | per letter dated July 22, 1999. Approved by: core
* Use __FBSDID().obrien2003-06-111-1/+3
|
* Deprecate machine/limits.h in favor of new sys/limits.h.kan2003-04-291-1/+1
| | | | | | | Change all in-tree consumers to include <sys/limits.h> Discussed on: standards@ Partially submitted by: Craig Rodrigues <rodrigc@attbi.com>
* Fix mis-indentation.phk2002-10-021-1/+1
| | | | Spotted by: FlexeLint
* Change the prototype of the strto* routines to make the secondarchie1999-11-241-2/+2
| | | | | | | | | | | parameter a char ** instead of a const char **. This make these kernel routines consistent with the corresponding libc userland routines. Which is actually 'correct' is debatable, but consistency and following the spec was deemed more important in this case. Reviewed by (in concept): phk, bde
* Move strto{u}[ql]() into their own libkern files.phk1999-11-031-314/+0
| | | | Urged by: bde
* Move isfoo() and friends to the newly created sys/ctype.h.phk1999-11-031-0/+1
| | | | Urged by: bde
* Consolidate some of the various ctype(3) macros in one location.archie1999-11-021-8/+0
|
* Add strtol & strtoul to kernel. Derived from libc versions.phk1999-11-011-0/+157
|
* Trim unused options (or #ifdef for undoc options).peter1999-10-111-1/+0
| | | | Submitted by: phk
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Cast pointers to uintptr_t instead of casting them to u_long, and/or vicebde1999-08-241-2/+2
| | | | versa. Cosmetic.
* Only needed to cast array index from char to unsigned char, did notdillon1999-02-141-3/+3
| | | | | also have to cast it to int. (int)(unsigned char)char_exp -> (unsigned char)char_exp.
* cleanup warnings by propogating const char pointers properly.dillon1999-01-291-3/+3
|
* Fix warnings in preparation for adding -Wall -Wcast-qual to thedillon1999-01-281-3/+3
| | | | kernel compile
* Fix array index of signed char to cast to unsigned char and then to int.dillon1999-01-271-9/+9
| | | | Also general const cleanup.
* Add sscanf/vsscanf/strtoq/strtouq to the kernel. Initially these will be usedmsmith1999-01-151-0/+793
for parsing kernel environment values, although they have utility elsewhere.
OpenPOWER on IntegriCloud