
1: @node C to Scheme mapping, Function and Syntax Index, References, Top 2: @appendix C to Scheme mapping 3: @c NODE C??cheme?δؿ?б? 4: 5: @c EN 6: For the convenience of the programmers familiar to C, 7: I composed a simple table of C operators and library functions with 8: the corresponding Scheme functions. 9: @c JP 10: C?????×¥í¥°???Τ?????C?Î¥??ڥ졼???ȥ饤?Ö¥??Ø¿ô¤«¤?cheme?δؿ??б?ɽ?ò¼¨¤??Ƥ????Þ¤??? 11: @c COMMON 12: 13: @table @code 14: @item + 15: @c EN 16: R5RS arithmetic procedure @code{+}. @xref{Arithmetics}. 17: @c JP 18: R5RS ?λ??ѱ黻???? @code{+}??@ref{Arithmetics}???È¡? 19: @c COMMON 20: @item += 21: @c EN 22: Gauche @code{inc!} macro. @xref{Assignments}. 23: @c JP 24: Gauche ??@code{inc!} ?Þ¥??í¡£@ref{Assignments}???È¡? 25: @c COMMON 26: @item - 27: @c EN 28: R5RS arithmetic procedure @code{-}. @xref{Arithmetics}. 29: @c JP 30: R5RS ?λ??ѱ黻???? @code{-}??@ref{Arithmetics}???È¡? 31: @c COMMON 32: @item -= 33: @c EN 34: Gauche @code{dec!} macro. @xref{Assignments}. 35: @c JP 36: Gauche ??@code{dec!} ?Þ¥??í¡£@ref{Assignments}???È¡? 37: @c COMMON 38: @item -> 39: @c EN 40: Gauche @code{slot-ref} is something close to this. @xref{Accessing instance}. 41: @c JP 42: Gauche ??@code{slot-ref} ???ᤤ???Ǥ???@ref{Accessing instance}???È¡? 43: @c COMMON 44: @c EN 45: @item * (binary) 46: R5RS arithmetic procedure @code{*}. @xref{Arithmetics}. 47: @c JP 48: @item * (??????? 49: R5RS ?λ??ѱ黻???? @code{*}??@ref{Arithmetics}???È¡? 50: @c COMMON 51: @c EN 52: @item * (unary) 53: No equivalent procedure. Scheme doesn't have explicit notation of 54: pointers. 55: @c JP 56: @item * (ñ?????? 57: Ʊ??μ????Ϥ???????cheme ?ˤ???Ū?Ý¥???????Ϥ???????@c COMMON 58: @item *= 59: @c EN 60: No equivalent procedure. 61: @c JP 62: Ʊ??μ????Ϥ???????@c COMMON 63: @item / 64: @c EN 65: R5RS arithmetic procedure @code{/}. @xref{Arithmetics}. 66: @c JP 67: R5RS ?λ??ѱ黻???? @code{/}??@ref{Arithmetics}???È¡? 68: @c COMMON 69: @item /= 70: @c EN 71: No equivalent procedure. 72: @c JP 73: Ʊ??μ????Ϥ???????@c COMMON 74: @c EN 75: @item & (binary) 76: Gauche @code{logand}. @xref{Bitwise operations}. 77: @c JP 78: @item & (??????? 79: Gauche ??@code{logand}??@ref{Bitwise operations}???È¡? 80: @c COMMON 81: @c EN 82: @item & (unary) 83: No equivalent procedure. Scheme doesn't have explicit notation of 84: pointers. 85: @c JP 86: @item & (ñ?????? 87: Ʊ??μ????Ϥ???????cheme ?ˤ???Ū?Ý¥???????Ϥ???????@c COMMON 88: @item && 89: @c EN 90: R5RS syntax @code{and}. @xref{Conditionals}. 91: @c JP 92: R5RS ?ι?ʸ @code{and}??@ref{Conditionals}???È¡? 93: @c COMMON 94: @item &= 95: @c EN 96: No equivalent procedure. 97: @c JP 98: Ʊ??μ????Ϥ???????@c COMMON 99: @item | 100: @c EN 101: Gauche @code{logior}. @xref{Bitwise operations}. 102: @c JP 103: Gauche ??@code{logior}??@ref{Bitwise operations}???È¡? 104: @c COMMON 105: @item || 106: @c EN 107: R5RS syntax @code{or}. @xref{Conditionals}. 108: @c JP 109: R5RS ?ι?ʸ @code{or}??@ref{Conditionals}???È¡? 110: @c COMMON 111: @item |= 112: @c EN 113: No equivalent procedure. 114: @c JP 115: Ʊ??μ????Ϥ???????@c COMMON 116: @item ^ 117: @c EN 118: Gauche @code{logxor}. @xref{Bitwise operations}. 119: @c JP 120: Gauche ??@code{logxor}??@ref{Bitwise operations}???È¡? 121: @c COMMON 122: @item = 123: @c EN 124: R5RS syntax @code{set!}. @xref{Assignments}. 125: @c JP 126: R5RS ?ι?ʸ @code{set!}??@ref{Assignments}???È¡? 127: @c COMMON 128: @item == 129: @c EN 130: R5RS equivalence procedure, @code{eq?}, @code{eqv?} and @code{equal?}. 131: @xref{Equivalence}. 132: @c JP 133: R5RS ????????? @code{eq?}??@code{eqv?} ???? @code{equal?}?? 134: @ref{Equivalence}???È¡? 135: @c COMMON 136: @item < 137: @itemx <= 138: @c EN 139: R5RS arithmetic procedure @code{<} and @code{<=}. 140: @xref{Numerical comparison}. Unlike C operator, Scheme version 141: is transitive. 142: @c JP 143: R5RS ?λ??ѱ黻???? @code{<} ???? @code{<=}?? 144: @ref{Numerical comparison}???È¡?C ?α黻?ҤȤ??????Scheme ?Τ?????Ū?ʤ??Ǥ??? 145: @c COMMON 146: @item << 147: @c EN 148: Gauche @code{ash}. @xref{Bitwise operations}. 149: @c JP 150: Gauche ??@code{ash}??@ref{Bitwise operations}???È¡? 151: @c COMMON 152: @item <<= 153: @c EN 154: No equivalent procedure. 155: @c JP 156: Ʊ??μ????Ϥ???????@c COMMON 157: @item > 158: @itemx >= 159: @c EN 160: R5RS arithmetic procedure @code{>} and @code{>=}. 161: @xref{Numerical comparison}. Unlike C operator, Scheme version 162: is transitive. 163: @c JP 164: R5RS ?λ??ѱ黻???? @code{<} ???? @code{<=}?? 165: @ref{Numerical comparison}???È¡?C ?α黻?ҤȤ??????Scheme ?Τ?????Ū?ʤ??Ǥ??? 166: @c COMMON 167: @item >> 168: @c EN 169: Gauche @code{ash}. @xref{Bitwise operations}. 170: @c JP 171: Gauche ??@code{ash}??@ref{Bitwise operations}???È¡? 172: @c COMMON 173: @item >>= 174: @c EN 175: No equivalent procedure. 176: @c JP 177: Ʊ??μ????Ϥ???????@c COMMON 178: @item % 179: @c EN 180: R5RS operator @code{modulo} and @code{remainder}. @xref{Arithmetics}. 181: @c JP 182: R5RS ?α黻??@code{modulo} ???? @code{remainder}??@ref{Arithmetics}???È¡? 183: @c COMMON 184: @item %= 185: @c EN 186: No equivalent procedure. 187: @c JP 188: Ʊ??μ????Ϥ???????@c COMMON 189: @item [] 190: @c EN 191: R5RS @code{vector-ref} (@xref{Vectors}) is something close. 192: Or you can use Gauche's generic function @code{ref} (@xref{Sequence framework}) 193: for arbitrary sequences. 194: @c JP 195: R5RS ??@code{vector-ref} (@ref{Vectors}???? ???ᤤ???Ǥ??????뤤?Ï¡? 196: Gauche ?Î¥????Í¥????Ø¿?ode{ref} (@ref{Sequence framework}???????? 197: Ǥ?Õ¤?¤?ѤˤʤäƤ??Þ¤??? 198: @c COMMON 199: @item . 200: @c EN 201: Gauche @code{slot-ref} is something close to this. @xref{Accessing instance}. 202: @c JP 203: Gauche ??@code{slot-ref} ???????ᤤ???Ǥ???@ref{Accessing instance}???È¡? 204: @c COMMON 205: @item ~ 206: @c EN 207: Gauche @code{lognot}. @xref{Bitwise operations}. 208: @c JP 209: Gauche ??@code{lognot}??@ref{Bitwise operations}???È¡? 210: @c COMMON 211: @item ~= 212: @c EN 213: No equivalent procedure. 214: @c JP 215: Ʊ??μ????Ϥ???????@c COMMON 216: @item ! 217: @c EN 218: R5RS procedure @code{not}. @xref{Booleans}. 219: @c JP 220: R5RS ?μ??? @code{not}??@ref{Booleans}???È¡? 221: @c COMMON 222: @item != 223: @c EN 224: No equivalent procedure. 225: @c JP 226: Ʊ??μ????Ϥ???????@c COMMON 227: @item abort 228: @c EN 229: Gauche @code{sys-abort}. @xref{Program termination}. 230: @c JP 231: Gauche ??@code{sys-abort}??@ref{Program termination}???È¡? 232: @c COMMON 233: @item abs 234: @c EN 235: R5RS @code{abs}. @xref{Arithmetics}. 236: @c JP 237: R5RS ??@code{abs}??@ref{Arithmetics}???È¡? 238: @c COMMON 239: @item access 240: @c EN 241: Gauche @code{sys-access}. @xref{File stats}. 242: @c JP 243: Gauche ??@code{sys-access}??@ref{File stats}???È¡? 244: @c COMMON 245: @item acos 246: @c EN 247: R5RS @code{acos}. @xref{Arithmetics}. 248: @c JP 249: R5RS ??@code{acos}??@ref{Arithmetics}???È¡? 250: @c COMMON 251: @item alarm 252: @c EN 253: Gauche @code{sys-alarm}. @xref{Miscellaneous system calls}. 254: @c JP 255: Gauche ??@code{sys-alarm}??@ref{Miscellaneous system calls}???È¡? 256: @c COMMON 257: @item asctime 258: @c EN 259: Gauche @code{sys-asctime}. @xref{Time}. 260: @c JP 261: Gauche ??@code{sys-asctime}??@ref{Time}???È¡? 262: @c COMMON 263: @item asin 264: @c EN 265: R5RS @code{asin}. @xref{Arithmetics}. 266: @c JP 267: R5RS ??@code{asin}??@ref{Arithmetics}???È¡? 268: @c COMMON 269: @item assert 270: @c EN 271: No equivalent function in Gauche. 272: @c JP 273: Gauche ?ˤ????δؿ????????@c COMMON 274: @item atan 275: @itemx atan2 276: @c EN 277: R5RS @code{atan}. @xref{Arithmetics}. 278: @c JP 279: R5RS ??@code{atan}??@ref{Arithmetics}???È¡? 280: @c COMMON 281: @item atexit 282: @c EN 283: No equivalent function in Gauche, but the "after" thunk of active 284: dynamic handlers are called when @code{exit} is called. 285: @xref{Program termination}, and @xref{Continuation}. 286: @c JP 287: Gauche ?ˤ????δؿ???????󤬡?@code{exit} ???ƤФ줿?Ȥ? 288: ?????Æ¥??Ö¤??Ū?Ï¥???Ö»?×¥??󥯤??ƤФ????? 289: @ref{Program termination} ???? @ref{Continuation} ???È¡? 290: @c COMMON 291: @item atof 292: @itemx atoi 293: @itemx atol 294: @c EN 295: You can use @code{string->number}. @xref{Numerical conversions}. 296: @c JP 297: @code{string->number} ???Ȥ??Þ¤???@ref{Numerical conversions}???È¡? 298: @c COMMON 299: @item bsearch 300: Gauche ?ˤ????δؿ????????@c COMMON 301: @item calloc 302: @c EN 303: Allocation is handled automatically in Scheme. 304: @c JP 305: Scheme ?Ǥϥ?????ϼ?ưŪ?˽????????? 306: @c COMMON 307: @item ceil 308: @c EN 309: R5RS @code{ceiling}. @xref{Arithmetics}. 310: @c JP 311: R5RS ??@code{ceiling}??@ref{Arithmetics}???È¡? 312: @c COMMON 313: @item cfgetispeed 314: @itemx cfgetospeed 315: @itemx cfsetispeed 316: @itemx cfsetospeed 317: @c EN 318: Gauche @code{sys-cfgetispeed}, @code{sys-cfgetospeed}, 319: @code{sys-cfsetispeed}, @code{sys-cfsetospeed}. @xref{Termios}. 320: @c JP 321: Gauche ??@code{sys-cfgetispeed}??@code{sys-cfgetospeed}?? 322: @code{sys-cfsetispeed}??@code{sys-cfsetospeed}??@ref{Termios}???È¡? 323: @c COMMON 324: @item chdir 325: @c EN 326: Gauche @code{sys-chdir}. @xref{Other file operations}. 327: @c JP 328: Gauche ??@code{sys-chdir}??@ref{Other file operations}???È¡? 329: @c COMMON 330: @item chmod 331: @c EN 332: Gauche @code{sys-chmod}. @xref{File stats}. 333: @c JP 334: Gauche ??@code{sys-chmod}??@ref{File stats}???È¡? 335: @c COMMON 336: @item chown 337: @c EN 338: Gauche @code{sys-chown}. @xref{File stats}. 339: @c JP 340: Gauche ??@code{sys-chown}??@ref{File stats}???È¡? 341: @c COMMON 342: @item clearerr 343: @c EN 344: Not supported yet. 345: @c JP 346: ̤???Ý¡??È¡? 347: @c COMMON 348: @item clock 349: @c EN 350: No equivalent function in Gauche. You can use @code{sys-times} 351: to get information about CPU time. 352: @c JP 353: Gauche ?ˤ????δؿ????????code{sys-times} ??äơ? 354: CPU?????????뤳?Ȥ??Ǥ??Þ¤??? 355: @c COMMON 356: @item close 357: @c EN 358: You can't directly close the file descriptor, but when you use 359: @code{close-input-port} or @code{close-output-port}, underlying 360: file is closed. Some port-related functions, such as 361: @code{call-with-output-file}, automatically closes the file 362: when operation is finished. The file is also closed when 363: its governing port is garbage collected. 364: @xref{Common port operations}. 365: @c JP 366: ?Õ¥?????????????????Ü¥??í¡¼?????뤳?ȤϤǤ??Þ¤??󤬡? 367: @code{close-input-port} ???뤤??@code{close-output-port} ????È¡? 368: ???ˤʤ??????????í¡¼?????????? 369: ?????Ĥ??Υݡ??Ȥ˴???????ô¡¢¤??Ȥ??С?@code{call-with-output-file} 370: ?ʤɤϡ???λ???˼?ưŪ?Ë¥Õ¥????????í¡¼?????Þ¤??? 371: ?Þ¤?????????Û¤??Ƥ??????Ȥ?GC???줿?Ȥ??Ë¥??í¡¼?????????? 372: @ref{Common port operations}???È¡? 373: @c COMMON 374: @item closedir 375: @c EN 376: No equivalent function in Gauche. You can use 377: @code{sys-readdir} to read the directory entries at once. 378: @xref{Directories}. 379: @c JP 380: Gauche ?ˤ????δؿ????????code{sys-readdir} ??????Ç¥??쥯?È¥?????Ù¤?ɤळ?Ȥ??Ǥ??Þ¤??? 381: @ref{Directories} ???È¡? 382: @c COMMON 383: @item cos 384: @itemx cosh 385: @c EN 386: @code{cos} and @code{cosh}. @xref{Arithmetics}. 387: @c JP 388: @code{cos} ???? @code{cosh}??@ref{Arithmetics} ???È¡? 389: @c COMMON 390: @item creat 391: @c EN 392: A file is implictly created by default when you open it for writing. 393: See @ref{File ports} for more control over the creation of files. 394: @c JP 395: ?Ç¥Õ¥????Ǥϡ??ñ¤¹??ߤΤ????Õ¥??????????×¥ó¤·¤??Ȥ??Ë¡???ۤΤ?????Õ¥????뤬???????????Õ¥???????Τ??ܤ???????Ĥ??Ƥ? 396: @ref{File ports} ?ò»²¾È¤??Ƥ???????? 397: @c COMMON 398: @item ctermid 399: @c EN 400: Gauche @code{sys-ctermid}. @xref{System inquiry}. 401: @c JP 402: Gauche ??@code{sys-ctermid}??@ref{System inquiry} ???È¡? 403: @c COMMON 404: @item ctime 405: @c EN 406: Gauche @code{sys-ctime}. @xref{Time}. 407: @c JP 408: Gauche ??@code{sys-ctime}??@ref{Time} ???È¡? 409: @c COMMON 410: @item cuserid 411: @c EN 412: No equivalent function. This is removed from the newer POSIX. 413: You can use alternative functions, such as @code{sys-getlogin} or 414: @code{sys-getpwuid} with @code{sys-getuid}. 415: @c JP 416: Ʊ??δؿ???????󡣤????????? POSIX ?????????????Þ¤??? 417: ?Ë¡?Ȥ??Æ¡?@code{sys-getuid} ?Ȥ??ä?????@code{sys-getlogin} 418: ???뤤??@code{sys-getpwuid} ?ʤɤδؿô¤¬»È¤??Þ¤??? 419: @c COMMON 420: @item difftime 421: @c EN 422: Gauche @code{sys-difftime}. @xref{Time}. 423: @c JP 424: Gauche ??@code{sys-difftime}??@ref{Time} ???È¡? 425: @c COMMON 426: @item div 427: @c EN 428: You can use R5RS @code{quotient} and @code{remainder}. 429: @xref{Arithmetics}. 430: @c JP 431: R5RS ??@code{quotient} ???? @code{remainder} ????Þ¤??? 432: @ref{Arithmetics} ???È¡? 433: @c COMMON 434: @item dup 435: @itemx dup2 436: @c EN 437: Not directly supported, but you can use @code{port-fd-dup!}. 438: @c JP 439: ľ??Ï¥??Ý¡??Ȥ??????Þ¤??󤬡?@code{port-fd-dup!} ???Ȥ??Þ¤??? 440: @c COMMON 441: @item execl 442: @itemx execle 443: @itemx execlp 444: @itemx execv 445: @itemx execve 446: @itemx execvp 447: @c EN 448: Gauche @code{sys-exec}. @xref{Unix process management}. 449: For higher level interface, @ref{High Level Process Interface}. 450: @c JP 451: Gauche ??@code{sys-exec}??@ref{Unix process management} ???È¡? 452: ?????????󥿥ե??????ˤĤ??Ƥ?@ref{High Level Process Interface} ???È¡? 453: @c COMMON 454: @item exit 455: @item _exit 456: @c EN 457: Use @code{exit} or @code{sys-exit}, depends on what you need. 458: @xref{Program termination}. 459: @c JP 460: ɬ??ʤ??Ȥ˱????Æ¡?@code{exit} ???뤤??@code{sys-exit} ????Þ¤??礦?? 461: @ref{Program termination} ???È¡? 462: @c COMMON 463: @item exp 464: @c EN 465: R5RS @code{exp}. @xref{Arithmetics}. 466: @c JP 467: R5RS ??@code{exp}??@ref{Arithmetics} ???È¡? 468: @c COMMON 469: @item fabs 470: @c EN 471: R5RS @code{abs}. @xref{Arithmetics}. 472: @c JP 473: R5RS ??@code{abs}??@ref{Arithmetics} ???È¡? 474: @c COMMON 475: @item fclose 476: @c EN 477: You can't directly close the file stream, but when you use 478: @code{close-input-port} or @code{close-output-port}, underlying 479: file is closed. Some port-related functions, such as 480: @code{call-with-output-file}, automatically closes the file 481: when operation is finished. The file is also closed when 482: its governing port is garbage collected. 483: @c JP 484: ?Õ¥????륹?ȥ꡼??ľ????í¡¼?????뤳?ȤϤǤ??Þ¤??󤬡? 485: @code{close-input-port} ???뤤??@code{close-output-port} ????È¡? 486: ???ˤʤ??????????í¡¼?????????? 487: ?????Ĥ??Υݡ??Ȥ˴???????ô¡¢¤??Ȥ??С?@code{call-with-output-file} 488: ?ʤɤϡ???λ???˼?ưŪ?Ë¥Õ¥????????í¡¼?????Þ¤??? 489: ?Þ¤?????????Û¤??Ƥ??????Ȥ?GC???줿?Ȥ??Ë¥??í¡¼?????????? 490: @ref{Common port operations}???È¡? 491: @c COMMON 492: @item fcntl 493: @c EN 494: Implemented as @code{sys-fcntl} in @code{gauche.fcntl} module. 495: @xref{Low-level file operations}. 496: @c JP 497: @code{gauche.fcntl} ?⥸?塼????@code{sys-fcntl} ?Ȥ??Ƽ?õ¤µ¤????Þ¤??? 498: @ref{Low-level file operations} ???È¡? 499: @c COMMON 500: @item fdopen 501: @c EN 502: Gauche's @code{open-input-fd-port} or @code{open-output-fd-port}. 503: @xref{File ports}. 504: @c JP 505: Gauche ??@code{open-input-fd-port} ???뤤??@code{open-output-fd-port}?? 506: @ref{File ports} ???È¡? 507: @c COMMON 508: @item feof 509: @c EN 510: Not supported yet. 511: @c JP 512: ̤???Ý¡??È¡? 513: @c COMMON 514: @item ferror 515: @c EN 516: Not supported yet. 517: @c JP 518: ̤???Ý¡??È¡? 519: @c COMMON 520: @item fflush 521: @c EN 522: Gauche's @code{flush}. @xref{Output}. 523: @c JP 524: Gauche ??@code{flush}??@ref{Output} ???È¡? 525: @c COMMON 526: @item fgetc 527: @c EN 528: Use @code{read-char} or @code{read-byte}. @xref{Input}. 529: @c JP 530: @code{read-char} ???뤤??@code{read-byte} ????Þ¤??礦??@ref{Input} ???È¡? 531: @c COMMON 532: @item fgetpos 533: @c EN 534: Use Gauche's @code{port-tell} (@xref{Common port operations}) 535: @c JP 536: Gauche ??@code{port-tell} ????Þ¤??礦??(@ref{Common port operations}???È¡?) 537: @c COMMON 538: @item fgets 539: @c EN 540: Use @code{read-line} or @code{read-block}. @xref{Input}. 541: @c JP 542: @code{read-line} ???뤤??@code{read-block} ????Þ¤??礦??@ref{Input} ???È¡? 543: @c COMMON 544: @item fileno 545: @c EN 546: @code{port-file-numer}. @xref{Common port operations}. 547: @c JP 548: @code{port-file-numer}??@ref{Common port operations} ???È¡? 549: @c COMMON 550: @item floor 551: @c EN 552: R5RS @code{floor}. @xref{Arithmetics}. 553: @c JP 554: R5RS ??@code{floor}??@ref{Arithmetics} ???È¡? 555: @c COMMON 556: @item fmod 557: @c EN 558: Gauche's @code{fmod}. 559: @c JP 560: Gauche ??@code{fmod}?? 561: @c COMMON 562: @item fopen 563: @c EN 564: R5RS @code{open-input-file} or @code{open-output-file} 565: corresponds to this operation. @xref{File ports}. 566: @c JP 567: ???????б??????Ï¡?R5RS ??@code{open-input-file} ???뤤?? 568: @code{open-output-file} ?Ǥ???@ref{File ports} ???È¡? 569: @c COMMON 570: @item fork 571: @c EN 572: Gauche's @code{sys-fork}. @xref{Unix process management}. 573: @c JP 574: Gauche ??@code{sys-fork}??@ref{Unix process management} ???È¡? 575: @c COMMON 576: @item forkpty 577: @c EN 578: Use @code{sys-forkpty}. @xref{Termios}. 579: @c JP 580: @code{sys-forkpty} ????Þ¤??礦??@ref{Termios} ???È¡? 581: @c COMMON 582: @item fpathconf 583: @c EN 584: Not supported. 585: @c JP 586: ̤???Ý¡??È¡? 587: @c COMMON 588: @item fprintf 589: @c EN 590: Not directly supported, but Gauche's @code{format} 591: provides similar functionality. @xref{Output}. 592: SLIB has @code{printf} implementation. 593: @c JP 594: ľ??Ï¥??Ý¡??Ȥ??????Þ¤??󤬡?Gauche ??@code{format} ???÷¤¿¤è¤¦?ʵ?ǽ??????Ƥ??Þ¤???@ref{Output}???È¡? 595: SLIB ??@code{printf} ?μ?????Þ¤??? 596: @c COMMON 597: @item fputc 598: @c EN 599: Use @code{write-char} or @code{write-byte}. @xref{Output}. 600: @c JP 601: @code{write-char} ???뤤??@code{write-byte}????Þ¤??礦??@ref{Output}???È¡? 602: @c COMMON 603: @item fputs 604: @c EN 605: Use @code{display}. @xref{Output}. 606: @c JP 607: @code{display}????Þ¤??礦??@ref{Output} ???È¡? 608: @c COMMON 609: @item fread 610: @c EN 611: Not directly supported. 612: To read binary numbers, see @ref{Binary I/O}. 613: If you want to read a chunk of bytes, you may be 614: able to use @code{read-block!}. 615: @xref{Uvector block I/O}. 616: @c JP 617: ľ??Ï¥??Ý¡??Ȥ??????Þ¤????Ð¥??Ê¥???????@ref{Binary I/O}?ò»²¾È¤Î¤??È¡? 618: ?Ð¥??ȤΥ??????ɤߤ??????? 619: @code{read-block!} ???Ȥ??????礦 (@ref{Uvector block I/O}?????? 620: @c COMMON 621: @item free 622: @c EN 623: You don't need this in Scheme. 624: @c JP 625: Scheme ?Ǥ?????????????@c COMMON 626: @item freopen 627: @c EN 628: Not supported. 629: @c JP 630: ̤???Ý¡??È¡? 631: @c COMMON 632: @item frexp 633: @c EN 634: Gauche's @code{frexp} 635: @c JP 636: Gauche ??@code{frexp}?? 637: @c COMMON 638: @item fscanf 639: @c EN 640: Not supported. For general case, you have to write a parser. 641: If you can keep the data in S-exp, you can use @code{read}. 642: If the syntax is very simple, you may be able to utilize 643: @code{string-tokenize} in @code{srfi-14} (@ref{String library}), 644: and/or regular expression stuff (@ref{Regular expression}). 645: @c JP 646: ???Ý¡??Ȥ??Ƥ??Þ¤??ó¡£°?Ū?ˤϥѡ???????ͤФʤ??????Ç¡????????Ý»?????é¡¢@code{read} ???Ȥ??Þ¤??? 647: ??ʸ??????ñ???é¡¢@code{srfi-14} (@ref{String library}) ??@code{string-tokenize} ?ä¡¢???ɽ?? (@ref{Regular expression}) ???Ȥ??????礦?? 648: @c COMMON 649: @item fseek 650: @c EN 651: Use Gauche's @code{port-seek} (@xref{Common port operations}) 652: @c JP 653: Gauche ??@code{port-seek}(@ref{Common port operations}????????Þ¤??礦?? 654: @c COMMON 655: @item fsetpos 656: @c EN 657: Use Gauche's @code{port-seek} (@xref{Common port operations}) 658: @c JP 659: Gauche ??@code{port-seek}(@ref{Common port operations}????????Þ¤??礦?? 660: @c COMMON 661: @item fstat 662: @c EN 663: Gauche's @code{sys-stat}. @xref{File stats}. 664: @c JP 665: Gauche ??@code{sys-stat}??@ref{File stats} ???È¡? 666: @c COMMON 667: @item ftell 668: @c EN 669: Use Gauche's @code{port-tell} (@xref{Common port operations}) 670: @c JP 671: Gauche ??@code{port-tell}(@xref{Common port operations}????????Þ¤??礦?? 672: @c COMMON 673: @item fwrite 674: @c EN 675: Not directly supported. 676: To write binary numbers, see @ref{Binary I/O}. 677: If you want to write a chunk of bytes, 678: you can simply use @code{display} or @code{write-block} 679: (@xref{Uvector block I/O}). 680: @c JP 681: ľ??Ï¥??Ý¡??Ȥ??????Þ¤????Ð¥??Ê¥??????Ф??Τʤ顢@ref{Binary I/O}???ȤΤ??È¡? 682: ?Ð¥????????????Ф????ʤ顢 683: ñ??@code{display} ???????@code{write-block} ???Ȥ??Þ¤? 684: (@ref{Uvector block I/O}?????? 685: @c COMMON 686: @item getc 687: @itemx getchar 688: @c EN 689: Use @code{read-char} or @code{read-byte}. @xref{Input}. 690: @c JP 691: @code{read-char} ???뤤??@code{read-byte}????Þ¤??礦??@ref{Input}???È¡? 692: @c COMMON 693: @item getcwd 694: @c EN 695: Gauche's @code{sys-getcwd}. @xref{System inquiry}. 696: @c JP 697: Gauche ??@code{sys-getcwd}??@ref{System inquiry} ???È¡? 698: @c COMMON 699: @item getdomainname 700: @c EN 701: Gauche's @code{sys-getdomainname}. @xref{System inquiry}. 702: @c JP 703: Gauche ??@code{sys-getdomainname}??@ref{System inquiry} ???È¡? 704: @c COMMON 705: @item getegid 706: @c EN 707: Gauche's @code{sys-getegid}. @xref{System inquiry}. 708: @c JP 709: Gauche ??@code{sys-getegid}??@ref{System inquiry} ???È¡? 710: @c COMMON 711: @item getenv 712: @c EN 713: Gauche's @code{sys-getenv}. @xref{Environment Inquiry}. 714: @c JP 715: Gauche ??@code{sys-getenv}??@ref{Environment Inquiry} ???È¡? 716: @c COMMON 717: @item geteuid 718: @c EN 719: Gauche's @code{sys-geteuid}. @xref{System inquiry}. 720: @c JP 721: Gauche ??@code{sys-geteuid}??@ref{System inquiry} ???È¡? 722: @c COMMON 723: @item gethostname 724: @c EN 725: Gauche's @code{sys-gethostname}. @xref{System inquiry}. 726: @c JP 727: Gauche ??@code{sys-gethostname}??@ref{System inquiry} ???È¡? 728: @c COMMON 729: @item getgid 730: @c EN 731: Gauche's @code{sys-getgid}. @xref{System inquiry}. 732: @c JP 733: Gauche ??@code{sys-getgid}??@ref{System inquiry} ???È¡? 734: @c COMMON 735: @item getgrgid 736: @itemx getgrnam 737: @c EN 738: Gauche's @code{sys-getgrgid} and @code{sys-getgrnam}. @xref{Unix groups and users}. 739: @c JP 740: Gauche ??@code{sys-getgrgid} ???? @code{sys-getgrnam}?? 741: @ref{Unix groups and users} ???È¡? 742: @c COMMON 743: @item getgroups 744: @c EN 745: Gauche's @code{sys-getgroups}. @xref{System inquiry}. 746: @c JP 747: Gauche ??@code{sys-getgroups}??@ref{System inquiry}???È¡? 748: @c COMMON 749: @item getlogin 750: @c EN 751: Gauche's @code{sys-getlogin}. @xref{System inquiry}. 752: @c JP 753: Gauche ??@code{sys-getlogin}??@ref{System inquiry}???È¡? 754: @c COMMON 755: @item getpgrp 756: @c EN 757: Gauche's @code{sys-getpgrp}. @xref{System inquiry}. 758: @c JP 759: Gauche ??@code{sys-getpgrp}??@ref{System inquiry} ???È¡? 760: @c COMMON 761: @item getpid 762: @itemx getppid 763: @c EN 764: Gauche's @code{sys-getpid}. @xref{System inquiry}. 765: @c JP 766: Gauche ??@code{sys-getpid}??@ref{System inquiry} ???È¡? 767: @c COMMON 768: @item getpwnam 769: @itemx getpwuid 770: @c EN 771: Gauche's @code{sys-getpwnam} and @code{sys-getpwuid}. @xref{Unix groups and users}. 772: @c JP 773: Gauche ??@code{sys-getpwnam} ???? @code{sys-getpwuid}?? 774: @ref{Unix groups and users} ???È¡? 775: @c COMMON 776: @item gets 777: @c EN 778: Use @code{read-line} or @code{read-block}. @xref{Input}. 779: @c JP 780: @code{read-line} ?Þ¤???@code{read-block}????Þ¤??礦??@ref{Input}???È¡? 781: @c COMMON 782: @item gettimeofday 783: @c EN 784: Gauche's @code{sys-gettimeofday}. @xref{Time}. 785: @c JP 786: Gauche ??@code{sys-gettimeofday}??@ref{Time} ???È¡? 787: @c COMMON 788: @item getuid 789: @c EN 790: Gauche's @code{sys-getuid}. @xref{System inquiry}. 791: @c JP 792: Gauche ??@code{sys-getuid}??@ref{System inquiry} ???È¡? 793: @c COMMON 794: @item gmtime 795: @c EN 796: Gauche's @code{sys-gmtime}. @xref{Time}. 797: @c JP 798: Gauche ??@code{sys-gmtime}??@ref{Time} ???È¡? 799: @c COMMON 800: @item isalnum 801: @c EN 802: Not directly supported, but you can use R5RS @code{char-alphabetic?} and 803: @code{char-numeric?}. @xref{Characters}. You can also use 804: character set. @xref{Character set}, also @ref{Character-set library}. 805: @c JP 806: ľ??Ï¥??Ý¡??Ȥ??????Þ¤??󤬡?R5RS ??@code{char-alphabetic?} ???? 807: @code{char-numeric?} ???Ȥ??Þ¤???@ref{Characters} ???È¡??Þ¤???ʸ????Ȥ??Þ¤???@ref{Character set}??@ref{Character-set library} ???È¡? 808: @c COMMON<