gcore.c (15531) | gcore.c (17142) |
---|---|
1/*- 2 * Copyright (c) 1992, 1993 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 --- 66 unchanged lines hidden (view full) --- 75 76void core __P((int, int, struct kinfo_proc *)); 77void datadump __P((int, int, struct proc *, u_long, int)); 78void usage __P((void)); 79void userdump __P((int, struct proc *, u_long, int)); 80 81kvm_t *kd; 82/* XXX undocumented routine, should be in kvm.h? */ | 1/*- 2 * Copyright (c) 1992, 1993 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 --- 66 unchanged lines hidden (view full) --- 75 76void core __P((int, int, struct kinfo_proc *)); 77void datadump __P((int, int, struct proc *, u_long, int)); 78void usage __P((void)); 79void userdump __P((int, struct proc *, u_long, int)); 80 81kvm_t *kd; 82/* XXX undocumented routine, should be in kvm.h? */ |
83ssize_t kvm_uread __P((kvm_t *, struct proc *, u_long, char *, size_t)); | 83ssize_t kvm_uread __P((kvm_t *, const struct proc *, u_long, char *, size_t)); |
84 | 84 |
85 |
|
85static int data_offset; 86 87int 88main(argc, argv) 89 int argc; 90 char *argv[]; 91{ 92 register struct proc *p; --- 221 unchanged lines hidden --- | 86static int data_offset; 87 88int 89main(argc, argv) 90 int argc; 91 char *argv[]; 92{ 93 register struct proc *p; --- 221 unchanged lines hidden --- |