File: lsof_h.dbg

package info (click to toggle)
lsof 4.93.2%2Bdfsg-1.1
  • links: PTS
  • area: main
  • in suites: bullseye
  • size: 5,936 kB
  • sloc: ansic: 75,924; sh: 12,859; makefile: 1,686; perl: 1,146; awk: 214
file content (22 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22


/* DEBUG -- where "appropriate in lsof.h */
#define	calloc	next_calloc
#define	free	next_free
#define	malloc	next_malloc
#define	realloc	next_realloc
#include <stdlib.h>
#undef	calloc
#undef	free
#undef	malloc
#undef	realloc
#define	calloc(n, s)	lsofcalloc(__FILE__, __LINE__, n, s)
#define	free(p)		lsoffree(__FILE__, __LINE__, p)
#define	malloc(s)	lsofmalloc(__FILE__, __LINE__, s)
#define	realloc(p, s)	lsofrealloc(__FILE__, __LINE__, p, s)
extern	void *lsofcalloc(char *f, int l, size_t n, size_t s);
extern	void lsoffree(char *f, int l, void *p);
extern	void *lsofmalloc(char *f, int l, size_t s);
extern	void *lsofrealloc(char *f, int l, void *p, size_t s);
extern int DBMon;
/* end DEBUG section for lsof.h */