Home
last modified time | relevance | path

Searched refs:os_version (Results 1 – 1 of 1) sorted by relevance

/curl/lib/vtls/
H A Dsectransp.c338 char *os_version; in GetDarwinVersionNumber() local
348 os_version = malloc(os_version_len*sizeof(char)); in GetDarwinVersionNumber()
349 if(!os_version) in GetDarwinVersionNumber()
351 if(sysctl(mib, 2, os_version, &os_version_len, NULL, 0) == -1) { in GetDarwinVersionNumber()
352 free(os_version); in GetDarwinVersionNumber()
357 os_version_major = Curl_strtok_r(os_version, ".", &tok_buf); in GetDarwinVersionNumber()
361 free(os_version); in GetDarwinVersionNumber()

Completed in 9 milliseconds