aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/uname
Commit message (Collapse)AuthorAgeFilesLines
* Sort sections.Ruslan Ermilov2005-01-181-6/+6
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Fixed spelling of the document date.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131468
* Make the sysctlbyname stuff look like the 2-level MIB stuff. ThisJuli Mallett2003-07-011-0/+1
| | | | | | | | | | | means actually setting 'len', for example. Which will make uname -i work on some systems where it did not. Anywhere where it did work, it was a matter of coincidence. Submitted by: redpixel on EFnet. Notes: svn path=/head/; revision=117137
* Add sysctlbyname(3) support, and use that for uname -i, in preparation forJuli Mallett2003-06-091-1/+13
| | | | | | | | replacing the committed static OID version with a string-based OID_AUTO version. Notes: svn path=/head/; revision=116088
* Make kernel identification (`ident' in the config(8) driver) available toJuli Mallett2003-06-092-6/+18
| | | | | | | | | | | | userland, and the kernel. In the kernel by way of the 'ident[]' variable akin to all the other stuff generated by newvers.sh. In userland it is available to sysctl consumers via KERN_IDENT or 'kern.ident'. It is exported by uname(1) by the -i flag. Reviewed by: hackers@ Notes: svn path=/head/; revision=116085
* Use some macro evil to create the functions for using sysctl(3) to get eachJuli Mallett2002-09-231-83/+38
| | | | | | | | | | | variable natively. It should allow you to use any sysctl mib set, but due to limitations of what I can do with macros, right now it's limited to two, which is all this program used anyway. Sponsored by: Bright Path Solutions Notes: svn path=/head/; revision=103846
* Check to see if we should print a space, rather than using the annoyingJuli Mallett2002-09-231-12/+12
| | | | | | | | | prefix methodology. Adjust nearby style. Sponsored by: Bright Path Solutions Notes: svn path=/head/; revision=103837
* Mostly rewrite the flag handling of uname(1) to be overridable, such as:Juli Mallett2002-09-182-70/+171
| | | | | | | | | | | | freefall% uname -s FreeBSD freefall% env UNAME_s=Linnex ./uname -s Linnex MFC after: 1 month Notes: svn path=/head/; revision=103518
* ANSIify function definitions.David Malone2002-09-041-4/+2
| | | | | | | | | | | | Add some constness to avoid some warnings. Remove use register keyword. Deal with missing/unneeded extern/prototypes. Some minor type changes/casts to avoid warnings. Reviewed by: md5 Notes: svn path=/head/; revision=102944
* Note that this appeared at least as early as PWB UNIX.Juli Mallett2002-06-101-2/+1
| | | | | | | Use the literal string 'PWB UNIX', as we still have no .At macro for it. Notes: svn path=/head/; revision=98107
* Note early appearence of some commands. These actually appeared in PWB, butJuli Mallett2002-06-101-1/+1
| | | | | | | | it seems we don't have a macro for that yet, so list them in the first UNIX release since then that we have a .At for: v7. Notes: svn path=/head/; revision=98080
* remove __PWarner Losh2002-03-221-1/+1
| | | | Notes: svn path=/head/; revision=92922
* mdoc(7) police: bump document date for the -p change, tidy up the markup.Ruslan Ermilov2002-01-171-6/+3
| | | | Notes: svn path=/head/; revision=89457
* 'uname -p' prints the value of hw.machine_arch instead of hw.machine.Yoshihiro Takahashi2002-01-142-8/+18
| | | | | | | | | Reviewed by: imp No response from: -arch MFC after: 3 weeks Notes: svn path=/head/; revision=89346
* WARNS=2 fixes, use __FBSDID().Mark Murray2001-12-111-5/+10
| | | | Notes: svn path=/head/; revision=87696
* mdoc(7) police: utilize the new .Ex macro.Ruslan Ermilov2001-08-151-4/+2
| | | | Notes: svn path=/head/; revision=81687
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48792
* Fixed printf format errors.Bruce Evans1998-07-061-5/+5
| | | | Notes: svn path=/head/; revision=37453
* Add a -p option which is the same as the -m option but providedSteve Price1998-02-242-2/+7
| | | | | | | | | for SVR4 compatibility. PR: 5826 Notes: svn path=/head/; revision=33792
* Nm uname -> Nm.Philippe Charnier1997-08-201-5/+5
| | | | Notes: svn path=/head/; revision=28455
* Show the real revision date and not the date that thisSteve Price1997-06-231-1/+1
| | | | | | | manpage is being viewed. Notes: svn path=/head/; revision=26826
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-291-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24360
* This commit was generated by cvs2svn to compensate for changes in r23690,Peter Wemm1997-03-111-1/+2
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=23691
| * Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build.Peter Wemm1997-03-111-0/+163
| | | | Notes: svn path=/vendor/CSRG/dist/; revision=23690
* Sort cross references.Wolfram Schneider1997-01-151-2/+2
| | | | Notes: svn path=/head/; revision=21748
* Use the .Bx macro where appropriate.Mike Pritchard1996-08-231-1/+2
| | | | Notes: svn path=/head/; revision=17797
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-273-0/+264
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590