forked from shirok/Gauche
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmapping.texi
1829 lines (1825 loc) · 53.7 KB
/
mapping.texi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@node C to Scheme mapping, Function and Syntax Index, Library modules - Utilities, Top
@appendix C to Scheme mapping
@c NODE CとSchemeの関数の対応
@c EN
For the convenience of the programmers familiar to C,
I composed a simple table of C operators and library functions with
the corresponding Scheme functions.
@c JP
Cに馴染んだプログラマのために、Cのオペレータとライブラリ関数から
Schemeの関数への対応表を示しておきます。
@c COMMON
@table @code
@item +
@c EN
R7RS arithmetic procedure @code{+}. @xref{Arithmetics}.
@c JP
R7RS の算術演算手続き @code{+}。@ref{Arithmetics}参照。
@c COMMON
@item +=
@c EN
Gauche @code{inc!} macro. @xref{Assignments}.
@c JP
Gauche の @code{inc!} マクロ。@ref{Assignments}参照。
@c COMMON
@item -
@c EN
R7RS arithmetic procedure @code{-}. @xref{Arithmetics}.
@c JP
R7RS の算術演算手続き @code{-}。@ref{Arithmetics}参照。
@c COMMON
@item -=
@c EN
Gauche @code{dec!} macro. @xref{Assignments}.
@c JP
Gauche の @code{dec!} マクロ。@ref{Assignments}参照。
@c COMMON
@item ->
@c EN
Gauche @code{slot-ref} is something close to this. @xref{Accessing instance}.
@c JP
Gauche の @code{slot-ref} が近いものです。@ref{Accessing instance}参照。
@c COMMON
@c EN
@item * (binary)
R7RS arithmetic procedure @code{*}. @xref{Arithmetics}.
@c JP
@item * (二項演算子)
R7RS の算術演算手続き @code{*}。@ref{Arithmetics}参照。
@c COMMON
@c EN
@item * (unary)
No equivalent procedure. Scheme doesn't have explicit notation of
pointers.
@c JP
@item * (単項演算子)
同等の手続きはありません。Scheme には明示的ポインタ表記はありません。
@c COMMON
@item *=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item /
@c EN
In C, it has two different meanings depending on the types
of operands. For real division, use @code{/}.
For integer quotient, use @code{quotient}.
@xref{Arithmetics}.
@c JP
Cでは引数の型によって二つの異なる意味を持つオペレータです。
実数の除算には@code{/}を、整数除算の商を求めるには@code{quotient}を使います。
@ref{Arithmetics}参照。
@c COMMON
@item /=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@c EN
@item & (binary)
Gauche @code{logand}. @xref{R7RS bitwise operations}.
@c JP
@item & (二項演算子)
Gauche の @code{logand}。@ref{R7RS bitwise operations}参照。
@c COMMON
@c EN
@item & (unary)
No equivalent procedure. Scheme doesn't have explicit notation of
pointers.
@c JP
@item & (単項演算子)
同等の手続きはありません。Scheme には明示的ポインタ表記はありません。
@c COMMON
@item &&
@c EN
R7RS syntax @code{and}. @xref{Conditionals}.
@c JP
R7RS の構文 @code{and}。@ref{Conditionals}参照。
@c COMMON
@item &=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item |
@c EN
Gauche @code{logior}. @xref{R7RS bitwise operations}.
@c JP
Gauche の @code{logior}。@ref{R7RS bitwise operations}参照。
@c COMMON
@item ||
@c EN
R7RS syntax @code{or}. @xref{Conditionals}.
@c JP
R7RS の構文 @code{or}。@ref{Conditionals}参照。
@c COMMON
@item |=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item ^
@c EN
Gauche @code{logxor}. @xref{R7RS bitwise operations}.
@c JP
Gauche の @code{logxor}。@ref{R7RS bitwise operations}参照。
@c COMMON
@item =
@c EN
R7RS syntax @code{set!}. @xref{Assignments}.
@c JP
R7RS の構文 @code{set!}。@ref{Assignments}参照。
@c COMMON
@item ==
@c EN
R7RS equivalence procedure, @code{eq?}, @code{eqv?} and @code{equal?}.
@xref{Equality}.
@c JP
R7RS の同等性手続き @code{eq?}、@code{eqv?} および @code{equal?}。
@ref{Equality}参照。
@c COMMON
@item <
@itemx <=
@c EN
R7RS arithmetic procedure @code{<} and @code{<=}.
@xref{Numerical comparison}. Unlike C operator, Scheme version
is transitive.
@c JP
R7RS の算術演算手続き @code{<} および @code{<=}。
@ref{Numerical comparison}参照。C の演算子とちがい、Scheme のものは
推移的なものです。
@c COMMON
@item <<
@c EN
Gauche @code{ash}. @xref{R7RS bitwise operations}.
@c JP
Gauche の @code{ash}。@ref{R7RS bitwise operations}参照。
@c COMMON
@item <<=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item >
@itemx >=
@c EN
R7RS arithmetic procedure @code{>} and @code{>=}.
@xref{Numerical comparison}. Unlike C operator, Scheme version
is transitive.
@c JP
R7RS の算術演算手続き @code{<} および @code{<=}。
@ref{Numerical comparison}参照。C の演算子とちがい、Scheme のものは
推移的なものです。
@c COMMON
@item >>
@c EN
Gauche @code{ash}. @xref{R7RS bitwise operations}.
@c JP
Gauche の @code{ash}。@ref{R7RS bitwise operations}参照。
@c COMMON
@item >>=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item %
@c EN
R7RS operator @code{modulo} and @code{remainder}. @xref{Arithmetics}.
@c JP
R7RS の演算子 @code{modulo} および @code{remainder}。@ref{Arithmetics}参照。
@c COMMON
@item %=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item []
@c EN
R7RS @code{vector-ref} (@pxref{Vectors}) is something close.
Or you can use Gauche's generic function @code{ref} (@pxref{Sequence framework})
for arbitrary sequences.
@c JP
R7RS の @code{vector-ref} (@ref{Vectors}参照) が近いものです。あるいは、
Gauche のジェネリック関数 @code{ref} (@ref{Sequence framework}参照)が、
任意の並び用になっています。
@c COMMON
@item .
@c EN
Gauche @code{slot-ref} is something close to this. @xref{Accessing instance}.
@c JP
Gauche の @code{slot-ref} がこれに近いものです。@ref{Accessing instance}参照。
@c COMMON
@item ~
@c EN
Gauche @code{lognot}. @xref{R7RS bitwise operations}.
@c JP
Gauche の @code{lognot}。@ref{R7RS bitwise operations}参照。
@c COMMON
@item ~=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item !
@c EN
R7RS procedure @code{not}. @xref{Booleans}.
@c JP
R7RS の手続き @code{not}。@ref{Booleans}参照。
@c COMMON
@item !=
@c EN
No equivalent procedure.
@c JP
同等の手続きはありません。
@c COMMON
@item abort
@c EN
Gauche @code{sys-abort}. @xref{Program termination}.
@c JP
Gauche の @code{sys-abort}。@ref{Program termination}参照。
@c COMMON
@item abs
@c EN
R7RS @code{abs}. @xref{Arithmetics}.
@c JP
R7RS の @code{abs}。@ref{Arithmetics}参照。
@c COMMON
@item access
@c EN
Gauche @code{sys-access}. @xref{File stats}.
@c JP
Gauche の @code{sys-access}。@ref{File stats}参照。
@c COMMON
@item acos
@c EN
R7RS @code{acos}. @xref{Arithmetics}.
@c JP
R7RS の @code{acos}。@ref{Arithmetics}参照。
@c COMMON
@item alarm
@c EN
Gauche @code{sys-alarm}. @xref{Miscellaneous system calls}.
@c JP
Gauche の @code{sys-alarm}。@ref{Miscellaneous system calls}参照。
@c COMMON
@item asctime
@c EN
Gauche @code{sys-asctime}. @xref{Time}.
@c JP
Gauche の @code{sys-asctime}。@ref{Time}参照。
@c COMMON
@item asin
@c EN
R7RS @code{asin}. @xref{Arithmetics}.
@c JP
R7RS の @code{asin}。@ref{Arithmetics}参照。
@c COMMON
@item assert
@c EN
No equivalent function in Gauche.
@c JP
Gauche には同等の関数はありません。
@c COMMON
@item atan
@itemx atan2
@c EN
R7RS @code{atan}. @xref{Arithmetics}.
@c JP
R7RS の @code{atan}。@ref{Arithmetics}参照。
@c COMMON
@item atexit
@c EN
No equivalent function in Gauche, but the "after" thunk of active
dynamic handlers are called when @code{exit} is called.
@xref{Program termination}, and @xref{Continuations}.
@c JP
Gauche には同等の関数はありませんが、@code{exit} が呼ばれたとき
アクティブな動的ハンドラの「事後」サンクが呼ばれます。
@ref{Program termination} および @ref{Continuations} 参照。
@c COMMON
@item atof
@itemx atoi
@itemx atol
@c EN
You can use @code{string->number}. @xref{Numerical conversions}.
@c JP
@code{string->number} が使えます。@ref{Numerical conversions}参照。
@c COMMON
@item bsearch
@c EN
You can use SRFI-133's @code{vector-binary-search}.
@xref{R7RS vectors}.
@c JP
SRFI-133の@code{vector-binary-search}が使えます。
@ref{R7RS vectors}参照。
@c COMMON
@item calloc
@c EN
Allocation is handled automatically in Scheme.
@c JP
Scheme ではメモリ割当は自動的に処理されます。
@c COMMON
@item ceil
@c EN
R7RS @code{ceiling}. @xref{Arithmetics}.
@c JP
R7RS の @code{ceiling}。@ref{Arithmetics}参照。
@c COMMON
@item cfgetispeed
@itemx cfgetospeed
@itemx cfsetispeed
@itemx cfsetospeed
@c EN
Gauche's @code{sys-cfgetispeed}, @code{sys-cfgetospeed},
@code{sys-cfsetispeed}, @code{sys-cfsetospeed}. @xref{Terminal control}.
@c JP
Gauche の @code{sys-cfgetispeed}、@code{sys-cfgetospeed}、
@code{sys-cfsetispeed}、@code{sys-cfsetospeed}。@ref{Terminal control}参照。
@c COMMON
@item chdir
@c EN
Gauche's @code{sys-chdir}. @xref{Other file operations}.
@c JP
Gauche の @code{sys-chdir}。@ref{Other file operations}参照。
@c COMMON
@item chmod
@c EN
Gauche's @code{sys-chmod}. @xref{File stats}.
@c JP
Gauche の @code{sys-chmod}。@ref{File stats}参照。
@c COMMON
@item chown
@c EN
Gauche's @code{sys-chown}. @xref{File stats}.
@c JP
Gauche の @code{sys-chown}。@ref{File stats}参照。
@c COMMON
@item clearerr
@c EN
Not supported yet.
@c JP
未サポート。
@c COMMON
@item clock
@c EN
No equivalent function in Gauche. You can use @code{sys-times}
to get information about CPU time.
@c JP
Gauche には同等の関数はありません。@code{sys-times} を使って、
CPUタイムに情報を得ることができます。
@c COMMON
@item close
@c EN
You can't directly close the file descriptor, but when you use
@code{close-input-port} or @code{close-output-port}, underlying
file is closed. Some port-related functions, such as
@code{call-with-output-file}, automatically closes the file
when operation is finished. The file is also closed when
its governing port is garbage collected.
@xref{Common port operations}.
@c JP
ファイルディスクリプタを直接クローズすることはできませんが、
@code{close-input-port} あるいは @code{close-output-port} を使うと、
元になるファイルはクローズされます。
いくつかのポートに関連する関数、たとえば、@code{call-with-output-file}
などは、操作終了時に自動的にファイルをクローズします。
また、それを支配しているポートがGCされたときにクローズされます。
@ref{Common port operations}参照。
@c COMMON
@item closedir
@c EN
No equivalent function in Gauche. You can use
@code{sys-readdir} to read the directory entries at once.
@xref{Directories}.
@c JP
Gauche には同等の関数はありません。@code{sys-readdir} を使うと
ディレクトリの内容を一度に読むことができます。
@ref{Directories} 参照。
@c COMMON
@item cos
@itemx cosh
@c EN
@code{cos} and @code{cosh}. @xref{Arithmetics}.
@c JP
@code{cos} および @code{cosh}。@ref{Arithmetics} 参照。
@c COMMON
@item creat
@c EN
A file is implicitly created by default when you open it for writing.
See @ref{File ports} for more control over the creation of files.
@c JP
デフォルトでは、書き込みのためにファイルをオープンしたときに、暗黙のうちに
ファイルが作成されます。ファイル作成のより詳しい制御については
@ref{File ports} を参照してください。
@c COMMON
@item ctermid
@c EN
Gauche @code{sys-ctermid}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-ctermid}。@ref{System inquiry} 参照。
@c COMMON
@item ctime
@c EN
Gauche @code{sys-ctime}. @xref{Time}.
@c JP
Gauche の @code{sys-ctime}。@ref{Time} 参照。
@c COMMON
@item cuserid
@c EN
No equivalent function. This is removed from the newer POSIX.
You can use alternative functions, such as @code{sys-getlogin} or
@code{sys-getpwuid} with @code{sys-getuid}.
@c JP
同等の関数はありません。これは新しい POSIX からは削除されています。
別法として、@code{sys-getuid} といっしょに、@code{sys-getlogin}
あるいは @code{sys-getpwuid} などの関数が使えます。
@c COMMON
@item difftime
@c EN
Gauche @code{sys-difftime}. @xref{Time}.
@c JP
Gauche の @code{sys-difftime}。@ref{Time} 参照。
@c COMMON
@item div
@c EN
You can use R7RS @code{quotient} and @code{remainder}.
@xref{Arithmetics}.
@c JP
R7RS の @code{quotient} および @code{remainder} を使えます。
@ref{Arithmetics} 参照。
@c COMMON
@item dup
@itemx dup2
@c EN
Not directly supported, but you can use @code{port-fd-dup!}.
@c JP
直接はサポートされていませんが、@code{port-fd-dup!} が使えます。
@c COMMON
@item execl
@itemx execle
@itemx execlp
@itemx execv
@itemx execve
@itemx execvp
@c EN
Gauche @code{sys-exec}. @xref{Process management}.
For higher level interface, @ref{High-level process interface}.
@c JP
Gauche の @code{sys-exec}。@ref{Process management} 参照。
より高水準のインタフェースについては @ref{High-level process interface} 参照。
@c COMMON
@item exit
@item _exit
@c EN
Use @code{exit} or @code{sys-exit}, depends on what you need.
@xref{Program termination}.
@c JP
必要なことに応じて、@code{exit} あるいは @code{sys-exit} を使いましょう。
@ref{Program termination} 参照。
@c COMMON
@item exp
@c EN
R7RS @code{exp}. @xref{Arithmetics}.
@c JP
R7RS の @code{exp}。@ref{Arithmetics} 参照。
@c COMMON
@item fabs
@c EN
R7RS @code{abs}. @xref{Arithmetics}.
@c JP
R7RS の @code{abs}。@ref{Arithmetics} 参照。
@c COMMON
@item fclose
@c EN
You can't directly close the file stream, but when you use
@code{close-input-port} or @code{close-output-port}, underlying
file is closed. Some port-related functions, such as
@code{call-with-output-file}, automatically closes the file
when operation is finished. The file is also closed when
its governing port is garbage collected.
@c JP
ファイルストリームを直接クローズすることはできませんが、
@code{close-input-port} あるいは @code{close-output-port} を使うと、
元になるファイルはクローズされます。
いくつかのポートに関連する関数、たとえば、@code{call-with-output-file}
などは、操作終了時に自動的にファイルをクローズします。
また、それを支配しているポートがGCされたときにクローズされます。
@ref{Common port operations}参照。
@c COMMON
@item fcntl
@c EN
Implemented as @code{sys-fcntl} in @code{gauche.fcntl} module.
@xref{Low-level file operations}.
@c JP
@code{gauche.fcntl} モジュールで、@code{sys-fcntl} として実装されています。
@ref{Low-level file operations} 参照。
@c COMMON
@item fdopen
@c EN
Gauche's @code{open-input-fd-port} or @code{open-output-fd-port}.
@xref{File ports}.
@c JP
Gauche の @code{open-input-fd-port} あるいは @code{open-output-fd-port}。
@ref{File ports} 参照。
@c COMMON
@item feof
@c EN
No equivalent operation, but you can check if an input port
have reached to the end by @code{peek-char} or @code{peek-byte}.
@xref{Reading data}.
@c JP
同等の操作はありませんが、入力ポートがEOFに達したどうか調べるには
@code{peek-char}や@code{peek-byte}が使えます。
@ref{Reading data}参照。
@c COMMON
@item ferror
@c EN
Not supported yet.
@c JP
未サポート。
@c COMMON
@item fflush
@c EN
Gauche's @code{flush}. @xref{Output}.
@c JP
Gauche の @code{flush}。@ref{Output} 参照。
@c COMMON
@item fgetc
@c EN
Use @code{read-char} or @code{read-byte}. @xref{Input}.
@c JP
@code{read-char} あるいは @code{read-byte} を使いましょう。@ref{Input} 参照。
@c COMMON
@item fgetpos
@c EN
Use Gauche's @code{port-tell} (@pxref{Common port operations})
@c JP
Gauche の @code{port-tell} を使いましょう。(@ref{Common port operations}参照。)
@c COMMON
@item fgets
@c EN
Use @code{read-line} or @code{read-string}. @xref{Input}.
@c JP
@code{read-line} あるいは @code{read-string} を使いましょう。@ref{Input} 参照。
@c COMMON
@item fileno
@c EN
@code{port-file-number}. @xref{Common port operations}.
@c JP
@code{port-file-number}。@ref{Common port operations} 参照。
@c COMMON
@item floor
@c EN
R7RS @code{floor}. @xref{Arithmetics}.
@c JP
R7RS の @code{floor}。@ref{Arithmetics} 参照。
@c COMMON
@item fmod
@c EN
Gauche's @code{fmod}.
@c JP
Gauche の @code{fmod}。
@c COMMON
@item fopen
@c EN
R7RS @code{open-input-file} or @code{open-output-file}
corresponds to this operation. @xref{File ports}.
@c JP
この操作に対応するのは、R7RS の @code{open-input-file} あるいは
@code{open-output-file} です。@ref{File ports} 参照。
@c COMMON
@item fork
@c EN
Gauche's @code{sys-fork}. @xref{Process management}.
@c JP
Gauche の @code{sys-fork}。@ref{Process management} 参照。
@c COMMON
@item forkpty
@c EN
Use @code{sys-forkpty}. @xref{Terminal control}.
@c JP
@code{sys-forkpty} を使いましょう。@ref{Terminal control} 参照。
@c COMMON
@item fpathconf
@c EN
Not supported.
@c JP
未サポート。
@c COMMON
@item fprintf
@c EN
Not directly supported, but Gauche's @code{format}
provides similar functionality. @xref{Output}.
SLIB has @code{printf} implementation.
@c JP
直接はサポートされていませんが、Gauche の @code{format} は
似たような機能を提供しています。@ref{Output}参照。
SLIB は @code{printf} の実装を持っています。
@c COMMON
@item fputc
@c EN
Use @code{write-char} or @code{write-byte}. @xref{Output}.
@c JP
@code{write-char} あるいは @code{write-byte}を使いましょう。@ref{Output}参照。
@c COMMON
@item fputs
@c EN
Use @code{display}. @xref{Output}.
@c JP
@code{display}を使いましょう。@ref{Output} 参照。
@c COMMON
@item fread
@c EN
Not directly supported.
To read binary numbers, see @ref{Binary I/O}.
If you want to read a chunk of bytes, you may be
able to use @code{read-uvector!}.
@xref{Uvector block I/O}.
@c JP
直接はサポートされていません。
バイナリの数値を読む場合は@ref{Binary I/O}を参照のこと。
バイトのチャンクで読みたければ、
@code{read-uvector!} が使えるでしょう (@ref{Uvector block I/O}参照)。
@c COMMON
@item free
@c EN
You don't need this in Scheme.
@c JP
Scheme では必要がありません。
@c COMMON
@item freopen
@c EN
Not supported.
@c JP
未サポート。
@c COMMON
@item frexp
@c EN
Gauche's @code{frexp}
@c JP
Gauche の @code{frexp}。
@c COMMON
@item fscanf
@c EN
Not supported. For general case, you have to write a parser.
If you can keep the data in S-exp, you can use @code{read}.
If the syntax is very simple, you may be able to utilize
@code{string-tokenize} in @code{srfi.14} (@ref{String library}),
and/or regular expression stuff (@ref{Regular expressions}).
@c JP
サポートしていません。一般的にはパーザを書かねばなりません。
データを S式で保持しているなら、@code{read} が使えます。
構文がごく単純なら、@code{srfi.14} (@ref{String library}) の
@code{string-tokenize} や、正規表現 (@ref{Regular expressions}) が使えるでしょう。
@c COMMON
@item fseek
@c EN
Use Gauche's @code{port-seek} (@pxref{Common port operations})
@c JP
Gauche の @code{port-seek}(@ref{Common port operations}参照)を使いましょう。
@c COMMON
@item fsetpos
@c EN
Use Gauche's @code{port-seek} (@pxref{Common port operations})
@c JP
Gauche の @code{port-seek}(@ref{Common port operations}参照)を使いましょう。
@c COMMON
@item fstat
@c EN
Gauche's @code{sys-stat}. @xref{File stats}.
@c JP
Gauche の @code{sys-stat}。@ref{File stats} 参照。
@c COMMON
@item ftell
@c EN
Use Gauche's @code{port-tell} (@pxref{Common port operations})
@c JP
Gauche の @code{port-tell}(@ref{Common port operations}参照)を使いましょう。
@c COMMON
@item fwrite
@c EN
Not directly supported.
To write binary numbers, see @ref{Binary I/O}.
If you want to write a chunk of bytes,
you can simply use @code{display} or @code{write-uvector}
(@pxref{Uvector block I/O}).
@c JP
直接はサポートされていません。
バイナリの数値を書き出すのなら、@ref{Binary I/O}参照のこと。
バイト列のチャンクを書き出しすなら、
単に @code{display} を使うか、@code{write-uvector} が使えます
(@ref{Uvector block I/O}参照)。
@c COMMON
@item getc
@itemx getchar
@c EN
Use @code{read-char} or @code{read-byte}. @xref{Input}.
@c JP
@code{read-char} あるいは @code{read-byte}を使いましょう。@ref{Input}参照。
@c COMMON
@item getcwd
@c EN
Gauche's @code{sys-getcwd}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getcwd}。@ref{System inquiry} 参照。
@c COMMON
@item getdomainname
@c EN
Gauche's @code{sys-getdomainname}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getdomainname}。@ref{System inquiry} 参照。
@c COMMON
@item getegid
@c EN
Gauche's @code{sys-getegid}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getegid}。@ref{System inquiry} 参照。
@c COMMON
@item getenv
@c EN
Gauche's @code{sys-getenv}. @xref{Environment inquiry}.
@c JP
Gauche の @code{sys-getenv}。@ref{Environment inquiry} 参照。
@c COMMON
@item geteuid
@c EN
Gauche's @code{sys-geteuid}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-geteuid}。@ref{System inquiry} 参照。
@c COMMON
@item gethostname
@c EN
Gauche's @code{sys-gethostname}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-gethostname}。@ref{System inquiry} 参照。
@c COMMON
@item getgid
@c EN
Gauche's @code{sys-getgid}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getgid}。@ref{System inquiry} 参照。
@c COMMON
@item getgrgid
@itemx getgrnam
@c EN
Gauche's @code{sys-getgrgid} and @code{sys-getgrnam}. @xref{Unix groups and users}.
@c JP
Gauche の @code{sys-getgrgid} および @code{sys-getgrnam}。
@ref{Unix groups and users} 参照。
@c COMMON
@item getgroups
@c EN
Gauche's @code{sys-getgroups}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getgroups}。@ref{System inquiry}参照。
@c COMMON
@item getlogin
@c EN
Gauche's @code{sys-getlogin}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getlogin}。@ref{System inquiry}参照。
@c COMMON
@item getpgrp
@c EN
Gauche's @code{sys-getpgrp}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getpgrp}。@ref{System inquiry} 参照。
@c COMMON
@item getpid
@itemx getppid
@c EN
Gauche's @code{sys-getpid}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getpid}。@ref{System inquiry} 参照。
@c COMMON
@item getpwnam
@itemx getpwuid
@c EN
Gauche's @code{sys-getpwnam} and @code{sys-getpwuid}. @xref{Unix groups and users}.
@c JP
Gauche の @code{sys-getpwnam} および @code{sys-getpwuid}。
@ref{Unix groups and users} 参照。
@c COMMON
@item gets
@c EN
Use @code{read-line} or @code{read-string}. @xref{Input}.
@c JP
@code{read-line} または @code{read-string}を使いましょう。@ref{Input}参照。
@c COMMON
@item gettimeofday
@c EN
Gauche's @code{sys-gettimeofday}. @xref{Time}.
@c JP
Gauche の @code{sys-gettimeofday}。@ref{Time} 参照。
@c COMMON
@item getuid
@c EN
Gauche's @code{sys-getuid}. @xref{System inquiry}.
@c JP
Gauche の @code{sys-getuid}。@ref{System inquiry} 参照。
@c COMMON
@item gmtime
@c EN
Gauche's @code{sys-gmtime}. @xref{Time}.
@c JP
Gauche の @code{sys-gmtime}。@ref{Time} 参照。
@c COMMON
@item isalnum
@c EN
Not directly supported, but you can use R7RS @code{char-alphabetic?} and
@code{char-numeric?}. @xref{Characters}. You can also use
character set. @xref{Character sets}, also @ref{R7RS character sets}.
@c JP
直接はサポートされていませんが、R7RS の @code{char-alphabetic?} および
@code{char-numeric?} が使えます。@ref{Characters} 参照。また、文字集合も
使えます。@ref{Character sets}、@ref{R7RS character sets} 参照。
@c COMMON
@item isalpha
@c EN
R7RS @code{char-alphabetic?}. @xref{Characters}. See also
@ref{Character sets} and @ref{R7RS character sets}.
@c JP
R7RS の @code{char-alphabetic?}。@ref{Characters} 参照。また、
@ref{Character sets} および @ref{R7RS character sets} も参照してください。
@c COMMON
@item isatty
@c EN
Gauche's @code{sys-isatty}. @xref{Other file operations}.
@c JP
Gauche の @code{sys-isatty}。@ref{Other file operations} 参照。
@c COMMON
@item iscntrl
@c EN
Not directly supported, but you can use
@code{(char-set-contains? char-set:iso-control c)} with @code{srfi.14}.
@xref{R7RS character sets}.
@c JP
直接はサポートされていませんが、@code{srfi.14} で
@code{(char-set-contains? char-set:iso-control c)} が使えます。
@ref{R7RS character sets} 参照。
@c COMMON
@item isdigit
@c EN
R7RS @code{char-numeric?}. @xref{Characters}.
You can also use @code{(char-set-contains? char-set:digit c)}
with @code{srfi.14}. @xref{R7RS character sets}.
@c JP
R7RS の @code{char-numeric?}。@ref{Characters} 参照。
@code{srfi.14} で、@code{(char-set-contains? char-set:digit c)} も
使えます。@ref{R7RS character sets} 参照。
@c COMMON
@item isgraph
@c EN
Not directly supported, but you can use
@code{(char-set-contains? char-set:graphic c)} with @code{srfi.14}.
@xref{R7RS character sets}.
@c JP
直接はサポートされていませんが、@code{srfi.14} で
@code{(char-set-contains? char-set:graphic c)} が使えます。
@ref{R7RS character sets} 参照。
@c COMMON
@item islower
@c EN
R7RS @code{char-lower-case?}. @xref{Characters}.
You can also use @code{(char-set-contains? char-set:lower-case c)}
with @code{srfi.14}. @xref{R7RS character sets}.
@c JP
R7RS の @code{char-lower-case?}。@ref{Characters} 参照。
@code{srfi.14} で @code{(char-set-contains? char-set:lower-case c)}
も使えます。@ref{R7RS character sets} 参照。
@c COMMON
@item isprint
@c EN
Not directly supported, but you can use
@code{(char-set-contains? char-set:printing c)} with @code{srfi.14}.
@xref{R7RS character sets}.
@c JP
直接はサポートされていませんが、@code{srfi.14} で
@code{(char-set-contains? char-set:printing c)} が使えます。
@ref{R7RS character sets} 参照。
@c COMMON
@item ispunct
@c EN
Not directly supported, but you can use
@code{(char-set-contains? char-set:punctuation c)} with @code{srfi.14}.
@xref{R7RS character sets}.
@c JP
直接はサポートされていませんが、@code{srfi.14} で
@code{(char-set-contains? char-set:punctuation c)} が使えます。
@ref{R7RS character sets} 参照。
@c COMMON
@item isspace
@c EN
R7RS @code{char-whitespace?}. @xref{Characters}.
You can also use @code{(char-set-contains? char-set:whitespace c)}
with @code{srfi.14}. @xref{R7RS character sets}.
@c JP
R7RS の @code{char-whitespace?}。@ref{Characters} 参照。
@code{srfi.14} で @code{(char-set-contains? char-set:whitespace c)}
も使えます。@ref{R7RS character sets} 参照。
@c COMMON
@item isupper
@c EN
R7RS @code{char-upper-case?}. @xref{Characters}.
You can also use @code{(char-set-contains? char-set:upper-case c)}
with @code{srfi.14}. @xref{R7RS character sets}.
@c JP
R7RS の @code{char-upper-case?}。@ref{Characters} 参照。
@code{srfi.14} で @code{(char-set-contains? char-set:upper-case c)}
も使えます。@ref{R7RS character sets} 参照。
@c COMMON
@item isxdigit
@c EN
Not directly supported, but you can use
@code{(char-set-contains? char-set:hex-digit c)} with @code{srfi.14}.
@xref{R7RS character sets}.
@c JP
直接はサポートされていませんが、@code{srfi.14} で
@code{(char-set-contains? char-set:hex-digit c)} が使えます。
@ref{R7RS character sets} 参照。
@c COMMON
@item kill
@c EN
Gauche's @code{sys-kill}. @xref{Signal}.
@c JP
Gauche の @code{sys-kill}。@ref{Signal} 参照。
@c COMMON
@item labs
@c EN
R7RS @code{abs}. @xref{Arithmetics}.
@c JP
R7RS の @code{abs}。@ref{Arithmetics} 参照。
@c COMMON
@item ldexp
@c EN
Gauche's @code{ldexp}.
@c JP
Gauche の @code{ldexp}。
@c COMMON
@item ldiv
@c EN
Use R7RS @code{quotient} and @code{remainder}.
@xref{Arithmetics}.
@c JP
R7RS の @code{quotient} および @code{remainder} を使いましょう。
@ref{Arithmetics}参照。
@c COMMON
@item link
@c EN
Gauche's @code{sys-link}. @xref{Directory manipulation}.
@c JP
Gauche の @code{sys-link}。@ref{Directory manipulation}参照。
@c COMMON
@item localeconv
@c EN
Gauche's @code{sys-localeconv}. @xref{Locale}.
@c JP
Gauche の @code{sys-localeconv}。@ref{Locale} 参照。
@c COMMON
@item localtime
@c EN
Gauche's @code{sys-localtime}. @xref{Time}.
@c JP
Gauche の @code{sys-localtime}。@ref{Time} 参照。
@c COMMON
@item log
@c EN
R7RS @code{log}. @xref{Arithmetics}.
@c JP
R7RS の @code{log}。@ref{Arithmetics} 参照。