guowenxue
2019-07-31 fa05fe6bfd8ceab1082249fd7b41fb3a0e6693cd
apue/1.File_IO/ds18b20.c
@@ -116,5 +116,7 @@
    /* convert string value to float value */
    *temp = atof(ptr)/1000;
   
    close(fd);
    return 0;
}