File: self_hex_dmp

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 (23 lines) | stat: -rw-r--r-- 481 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
23
/* DEBUG */
	{
	    int iD, jD;
	    unsigned long *upD;

	    fprintf(stderr, "%ld: %s, fd=%s\n", (long)Lp->pid, Lp->cmd, Lf->fd);
	    for (iD = jD = 0, upD = (unsigned long *)&fsc;
		 iD < sizeof(struct fsContext)/8;
		 iD++, upD++)
	    {
		if (!jD)
		    fprintf(stderr, "  %2d: %016lx", iD, *upD);
		else
		    fprintf(stderr, " %016lx", *upD);
		if (++jD >= 4) {
		    jD = 0;
		    putc((int)'\n', stderr);
		}
	    }
	    if (jD)
		putc((int)'\n', stderr);
	}
/* DEBUG */