Deleted Added
full compact
sysconf.c (8870) sysconf.c (11659)
1/*-
2 * Copyright (c) 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Sean Eric Fagan of Cygnus Support.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 48 unchanged lines hidden (view full) ---

57 * A workaround might be to cache the values when they are first retrieved
58 * and then simply return the cached value on subsequent calls. This is
59 * less useful than returning up-to-date values, however.
60 */
61long
62sysconf(name)
63 int name;
64{
1/*-
2 * Copyright (c) 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Sean Eric Fagan of Cygnus Support.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 48 unchanged lines hidden (view full) ---

57 * A workaround might be to cache the values when they are first retrieved
58 * and then simply return the cached value on subsequent calls. This is
59 * less useful than returning up-to-date values, however.
60 */
61long
62sysconf(name)
63 int name;
64{
65 struct clockinfo clk;
66 struct rlimit rl;
67 size_t len;
68 int mib[2], value;
69
70 len = sizeof(value);
71
72 switch (name) {
73/* 1003.1 */

--- 115 unchanged lines hidden ---
65 struct rlimit rl;
66 size_t len;
67 int mib[2], value;
68
69 len = sizeof(value);
70
71 switch (name) {
72/* 1003.1 */

--- 115 unchanged lines hidden ---