91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 4.29MB
    文件類型: .gz
    金幣: 1
    下載: 1 次
    發(fā)布日期: 2023-09-18
  • 語(yǔ)言: 其他
  • 標(biāo)簽: tcl??linux??

資源簡(jiǎn)介

tcl linux 自動(dòng)登錄腳本控制工具。

資源截圖

代碼片段和文件信息

/*?
?*?fixstrtod.c?--
?*
?* Source?code?for?the?“fixstrtod“?procedure.??This?procedure?is
?* used?in?place?of?strtod?under?Solaris?2.4?in?order?to?fix
?* a?bug?where?the?“end“?pointer?gets?set?incorrectly.
?*
?*?Copyright?(c)?1995?Sun?Microsystems?Inc.
?*
?*?See?the?file?“l(fā)icense.terms“?for?information?on?usage?and?redistribution
?*?of?this?file?and?for?a?DISCLAIMER?OF?ALL?WARRANTIES.
?*/

#include?

#undef?strtod

/*
?*?Declare?strtod?explicitly?rather?than?including?stdlib.h?since?in
?*?somes?systems?(e.g.?SunOS?4.1.4)?stdlib.h?doesn‘t?declare?strtod.
?*/

extern?double?strtod(char?*?char?**);

double
fixstrtod(
????char?*string
????char?**endPtr)
{
????double?d;
????d?=?strtod(string?endPtr);
????if?((endPtr?!=?NULL)?&&?(*endPtr?!=?string)?&&?((*endPtr)[-1]?==?0))?{
*endPtr?-=?1;
????}
????return?d;
}

評(píng)論

共有 條評(píng)論