Skip to content

Commit 5391a91

Browse files
author
cpprefjp-autoupdate
committed
update automatically
1 parent 556dfcb commit 5391a91

File tree

3 files changed

+38
-67
lines changed

3 files changed

+38
-67
lines changed

reference/cstdlib/atoi_atol_atoll.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@
188188

189189
<p class="text-right"><small>
190190
最終更新日時(UTC):
191-
<span itemprop="datePublished" content="2025-07-05T11:15:11">
192-
2025年07月05日 11時15分11秒
191+
<span itemprop="datePublished" content="2025-07-05T11:26:53">
192+
2025年07月05日 11時26分53秒
193193
</span>
194194
<br/>
195195
<span itemprop="author" itemscope itemtype="http://schema.org/Person">
@@ -223,8 +223,8 @@ <h2>概要</h2>
223223
<p>基数は常に10である。</p>
224224
<h2>変換方法</h2>
225225
<p>空白文字から始まる場合、最初の非空白文字から変換する。</p>
226-
<p>+ ,-は変換後の符号に適用される。</p>
227-
<p>変換不可能ならば0を返す.</p>
226+
<p>+ 、-は変換後の符号に適用される。</p>
227+
<p>変換不可能ならば0を返す。</p>
228228
<h2>備考</h2>
229229
<p>変換後の数値が<a class="cpprefjp-defined-word" data-desc="関数呼び出し式の評価結果となるオブジェクト・値">戻り値</a>の範囲外の場合、<a class="cpprefjp-defined-word" data-desc="未定義の動作。処理系は予期せぬ動作をする可能性がある。要するに動作保証対象外。undefined behavior (UB)。" href="../../implementation-compliance.html#dfn-undefined-behavior">動作は未定義</a>である。</p>
230230
<p>名前は、ASCII to integerから命名。</p>

rss.xml

Lines changed: 33 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,41 @@
22
<feed xmlns="http://www.w3.org/2005/Atom">
33
<title>cpprefjp - C++日本語リファレンス</title>
44
<link href="https://cpprefjp.github.io" />
5-
<updated>2025-07-05T11:19:22.165100</updated>
6-
<id>c7e4dc48-c878-4414-919e-98f70a9b897f</id>
5+
<updated>2025-07-05T11:31:05.861205</updated>
6+
<id>a356cce8-0760-4261-a3d5-a872d236f58e</id>
77

88

9+
<entry>
10+
<title>atoi,atol,atoll -- 不要文字の削除</title>
11+
<link href="https://cpprefjp.github.io/reference/cstdlib/atoi_atol_atoll.html"/>
12+
<id>a086c7ffb9647ea30f3db83023cf3a76e8ba2c4a:reference/cstdlib/atoi_atol_atoll.md</id>
13+
<updated>2025-07-05T20:26:53+09:00</updated>
14+
15+
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstdlib/atoi_atol_atoll.md b/reference/cstdlib/atoi_atol_atoll.md
16+
index d8e856ad5..7d31e88ec 100644
17+
--- a/reference/cstdlib/atoi_atol_atoll.md
18+
+++ b/reference/cstdlib/atoi_atol_atoll.md
19+
@@ -19,10 +19,10 @@ long long atoll( const char* str );
20+
21+
空白文字から始まる場合、最初の非空白文字から変換する。
22+
23+
-\+ ,\-は変換後の符号に適用される。
24+
+\+ 、\-は変換後の符号に適用される。
25+
26+
27+
-変換不可能ならば0を返す.。
28+
+変換不可能ならば0を返す。
29+
30+
## 備考
31+
32+
&lt;/code&gt;&lt;/pre&gt;</summary>
33+
34+
<author>
35+
<name>K10-K10</name>
36+
<email>[email protected]</email>
37+
</author>
38+
</entry>
39+
940
<entry>
1041
<title>atoi,atol,atoll -- fix head size</title>
1142
<link href="https://cpprefjp.github.io/reference/cstdlib/atoi_atol_atoll.html"/>
@@ -806,64 +837,4 @@ index 000000000..28413ac13
806837
</author>
807838
</entry>
808839

809-
<entry>
810-
<title>getenv -- new page cstdlib/getenv</title>
811-
<link href="https://cpprefjp.github.io/reference/cstdlib/getenv.html"/>
812-
<id>52760d224783a840dc206dbf2a7b76bdcd31cf1e:reference/cstdlib/getenv.md</id>
813-
<updated>2025-07-05T18:21:18+09:00</updated>
814-
815-
<summary type="html">&lt;pre&gt;&lt;code&gt;diff --git a/reference/cstdlib/getenv.md b/reference/cstdlib/getenv.md
816-
new file mode 100644
817-
index 000000000..3d0f60cf4
818-
--- /dev/null
819-
+++ b/reference/cstdlib/getenv.md
820-
@@ -0,0 +1,40 @@
821-
+# getenv
822-
+* cstdlib[meta header]
823-
+* std[meta namespace]
824-
+* function[meta id-type]
825-
+
826-
+```cpp
827-
+char* getenv( const char* env_var );
828-
+```
829-
+
830-
+## 概要
831-
+
832-
+ホスト環境(OS)が提供する環境リストから、Cストリング`env_var`と一致する文字列を検索、一致したもののポインタを返す
833-
+
834-
+## 返り値
835-
+
836-
+一致したものがあれば環境変数を保持した文字列、なければヌルポインタを返す
837-
+
838-
+## 備考
839-
+
840-
+C++11以前は、他の関数でホスト環境が変更されなければ、この関数はスレッドセーフである。(他のスレッドで呼び出された場合でも)
841-
+
842-
+C++11以降では、`getenv`が返す文字列を変更すると未定義動作となる。
843-
+
844-
+## 例
845-
+```cpp example
846-
+#include &amp;lt;cstdlib&amp;gt;
847-
+#include &amp;lt;iostream&amp;gt;
848-
+
849-
+int main()
850-
+{
851-
+ if (const char* env_p = std::getenv(&amp;#34;PATH&amp;#34;))
852-
+ std::cout &amp;lt;&amp;lt; &amp;#34;Your PATH is: &amp;#34; &amp;lt;&amp;lt; env_p &amp;lt;&amp;lt; &amp;#39;\n&amp;#39;;
853-
+}
854-
+```
855-
+
856-
+## 出力結果
857-
+```
858-
+Your PATH is: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
859-
+```
860-
+
861-
&lt;/code&gt;&lt;/pre&gt;</summary>
862-
863-
<author>
864-
<name>K10-K10</name>
865-
<email>[email protected]</email>
866-
</author>
867-
</entry>
868-
869840
</feed>

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31440,7 +31440,7 @@
3144031440

3144131441
<url>
3144231442
<loc>https://cpprefjp.github.io/reference/cstdlib/atoi_atol_atoll.html</loc>
31443-
<lastmod>2025-07-05T20:15:11+09:00</lastmod>
31443+
<lastmod>2025-07-05T20:26:53+09:00</lastmod>
3144431444
<changefreq>daily</changefreq>
3144531445
<priority>0.7</priority>
3144631446
</url>

0 commit comments

Comments
 (0)