ps.c (220574) | ps.c (222178) |
---|---|
1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 33 unchanged lines hidden (view full) --- 42 43#if 0 44#ifndef lint 45static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94"; 46#endif /* not lint */ 47#endif 48 49#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 33 unchanged lines hidden (view full) --- 42 43#if 0 44#ifndef lint 45static char sccsid[] = "@(#)ps.c 8.4 (Berkeley) 4/2/94"; 46#endif /* not lint */ 47#endif 48 49#include <sys/cdefs.h> |
50__FBSDID("$FreeBSD: head/bin/ps/ps.c 220574 2011-04-12 20:10:15Z trasz $"); | 50__FBSDID("$FreeBSD: head/bin/ps/ps.c 222178 2011-05-22 14:03:46Z uqs $"); |
51 52#include <sys/param.h> 53#include <sys/proc.h> 54#include <sys/user.h> 55#include <sys/stat.h> 56#include <sys/ioctl.h> 57#include <sys/sysctl.h> 58#include <sys/mount.h> --- 155 unchanged lines hidden (view full) --- 214 init_list(&uidlist, addelem_uid, sizeof(uid_t), "user"); 215 memf = _PATH_DEVNULL; 216 nlistf = NULL; 217 while ((ch = getopt(argc, argv, PS_ARGS)) != -1) 218 switch (ch) { 219 case 'A': 220 /* 221 * Exactly the same as `-ax'. This has been | 51 52#include <sys/param.h> 53#include <sys/proc.h> 54#include <sys/user.h> 55#include <sys/stat.h> 56#include <sys/ioctl.h> 57#include <sys/sysctl.h> 58#include <sys/mount.h> --- 155 unchanged lines hidden (view full) --- 214 init_list(&uidlist, addelem_uid, sizeof(uid_t), "user"); 215 memf = _PATH_DEVNULL; 216 nlistf = NULL; 217 while ((ch = getopt(argc, argv, PS_ARGS)) != -1) 218 switch (ch) { 219 case 'A': 220 /* 221 * Exactly the same as `-ax'. This has been |
222 * added for compatability with SUSv3, but for | 222 * added for compatibility with SUSv3, but for |
223 * now it will not be described in the man page. 224 */ 225 nselectors++; 226 all = xkeep = 1; 227 break; 228 case 'a': 229 nselectors++; 230 all = 1; --- 1113 unchanged lines hidden --- | 223 * now it will not be described in the man page. 224 */ 225 nselectors++; 226 all = xkeep = 1; 227 break; 228 case 'a': 229 nselectors++; 230 all = 1; --- 1113 unchanged lines hidden --- |