File: conftest_cstd.c

package info (click to toggle)
python-pysam 0.23.3%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 18,464 kB
  • sloc: ansic: 158,947; python: 8,806; makefile: 264; sh: 79
file content (11 lines) | stat: -rw-r--r-- 222 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
#include <string.h>
#include <unistd.h>

// C++-style comment; for-decl; optind

int main(int argc, char **argv) {
    int sum = 0;
    for (int i = optind; i < argc; i++)
        sum += strlen(argv[i]);
    return sum;
}