File: TestFileOffsetBits.cpp

package info (click to toggle)
gromacs 2026.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 274,304 kB
  • sloc: xml: 3,831,921; cpp: 686,728; ansic: 75,300; python: 21,171; sh: 3,553; perl: 2,246; yacc: 644; fortran: 397; lisp: 265; makefile: 179; lex: 125; awk: 68; csh: 39
file content (9 lines) | stat: -rw-r--r-- 175 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#include <sys/types.h>

int main()
{
  /* Cause a compile-time error if off_t is smaller than 64 bits */
  int off_t_is_large[sizeof(off_t)-7];
  return off_t_is_large[0];
}