OSDN Git Service

(split) Convert contrib and obsolete pages to UTF-8.
[linuxjm/LDP_man-pages.git] / obsolete / man3 / atol.3
1 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
2 .\"
3 .\" Permission is granted to make and distribute verbatim copies of this
4 .\" manual provided the copyright notice and this permission notice are
5 .\" preserved on all copies.
6 .\"
7 .\" Permission is granted to copy and distribute modified versions of this
8 .\" manual under the conditions for verbatim copying, provided that the
9 .\" entire resulting derived work is distributed under the terms of a
10 .\" permission notice identical to this one
11 .\" 
12 .\" Since the Linux kernel and libraries are constantly changing, this
13 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
14 .\" responsibility for errors or omissions, or for damages resulting from
15 .\" the use of the information contained herein.  The author(s) may not
16 .\" have taken the same level of care in the production of this manual,
17 .\" which is licensed free of charge, as they might when working
18 .\" professionally.
19 .\" 
20 .\" Formatted or processed versions of this manual, if unaccompanied by
21 .\" the source, must acknowledge the copyright and authors of this work.
22 .\"
23 .\" References consulted:
24 .\"     Linux libc source code
25 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
26 .\"     386BSD man pages
27 .\" Modified Mon Mar 29 22:40:19 1993, David Metcalfe
28 .\" Modified Sat Jul 24 21:37:44 1993, Rik Faith (faith@cs.unc.edu)
29 .\" 
30 .\" Japanese Version Copyright (c) 1996 Kentaro OGAWA 
31 .\"         all rights reserved.
32 .\" Translated Sat, 13 Jul 1996 22:47:32 +0900
33 .\"         by Kentaro OGAWA <k_ogawa@oyna.cc.muroran-it.ac.jp>
34 .\" 
35 .TH ATOL 3  "March 29, 1993" "GNU" "Linux Programmer's Manual"
36 .SH 名前
37 atol \- 文字列をlong int型に変換
38 .SH 書式
39 .nf
40 .B #include <stdlib.h>
41 .sp
42 .BI "long atol(const char *" nptr );
43 .fi
44 .SH 説明
45 \fBatol()\fP関数は、\fInptr\fPによって指示される文字列のはじめの部分を
46 long int型整数に変換する。
47 この振る舞いは、
48 \fBatol()\fP関数がエラーを見つけないことを除いては、
49 .sp
50 .RS
51 .B strtol(nptr, (char **)NULL, 10);
52 .RE
53 .sp
54 と同じである。
55 .SH "返り値"
56 変換された値
57 .SH "準拠"
58 SVID 3, POSIX, BSD 4.3, ISO 9899
59 .SH "関連項目"
60 .BR atof "(3), " atoi "(3), " strtod "(3), " strtol "(3), " strtoul (3)