File: hasutmpaddrv6.h-yes.c

package info (click to toggle)
tinyssh 20230101-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,244 kB
  • sloc: ansic: 12,106; sh: 1,168; python: 479; makefile: 42
file content (11 lines) | stat: -rw-r--r-- 191 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
/* Public domain. */
#include <time.h>
#include <sys/time.h>
#include <utmp.h>

int main(void) {

    struct utmp ut;
    int x[sizeof(ut.ut_addr_v6) < 16 ? -1 : 1] = {0};
    return x[0];
}