untitled

Size: px
Start display at page:

Download "untitled"

Transcription

1 OpenVMS AA-PU8NF-TE : : OpenVMS V7.3 OpenVMS Integrity OpenVMS Alpha V7.3-2 OpenVMS VAX V7.3

2 2004, 2009 Hewlett-Packard Development Company, L.P. () Adobe Adobe Illustrator POSTSCRIPT Adobe Systems BITSTREAM Bitstream Microsoft MS MS DOS Microsoft Motif OSF OSF/1 OSF/Motif Open Software Foundation Open Software Foundation VAX DOCUMENT V 2.1

3 ... ix FORTRAN C MACRO JLB$NOF_BYTE JLB$NOF_CHAR JLB$POS_CURR JLB$POS_NEXT JLB$POS_PREV JLB$POSITION JLB$STR_EQUAL JLB$STR_START JLB$STR_SEARCH JLB$TRIM JLB$TRUNC JLB$LOCC JLB$SKPC JLB$RCHAR JLB$RNEXT JLB$WCHAR JLB$WNEXT iii

4 JLB$TRA_ROM_HALF JLB$TRA_ROM_FULL JLB$TRA_ROM_SIZE JLB$TRA_ROM_LOWER JLB$TRA_ROM_UPPER JLB$TRA_ROM_CASE JLB$TRA_ROM_KANA JLB$TRA_KANA_HIRA JLB$TRA_KANA_KATA JLB$TRA_KANA_KANA JLB$TRA_KANA_DAKU JLB$TRA_KANA_HALF JLB$TRA_KANA_FULL JLB$TRA_SYMBOL JLB$GET_COMMAND JLB$GET_INPUT JLB$RMS_USER_VTF JLB$RMS_VTF7_USER JSY$RMS_GET_ENCODING JSY$RMS_LIST_ENCODING JSY$RMS_SET_ENCODING JSY$RMS_USER_VTF JSY$RMS_VTF7_USER JLB$DATE_TIME JLB$DEV_KANJI JLB$DEV_KANJI_IN JSY$CH_NEXT JSY$CH_PREV JSY$CH_CURR JSY$POS_NEXT JSY$POS_PREV JSY$POS_CURR JSY$CH_RCHAR JSY$CH_RNEXT JSY$CH_WCHAR JSY$CH_WNEXT JSY$CH_GCHAR iv

5 JSY$CH_GNEXT JSY$CH_PCHAR JSY$CH_PNEXT JSY$CH_SIZE JSY$CH_NBYTE JSY$CH_NCHAR JSY$POSITION JSY$STR_EQUAL JSY$STR_START JSY$STR_SEARCH JSY$TRIM JSY$TRUNC JSY$LOCC JSY$SKPC JSY$CHG_ROM_HALF JSY$CHG_ROM_FULL JSY$CHG_ROM_SIZE JSY$CHG_ROM_LOWER JSY$CHG_ROM_UPPER JSY$CHG_ROM_CASE JSY$CHG_KANA_HIRA JSY$CHG_KANA_KATA JSY$CHG_KANA_KANA JSY$CHG_KANA_DAKU JSY$CHG_KANA_HALF JSY$CHG_KANA_FULL JSY$CHG_GENERAL JSY$CHG_JIS_KUTEN JSY$CHG_KEISEN JSY$TRA_ROM_HALF JSY$TRA_ROM_FULL JSY$TRA_ROM_SIZE JSY$TRA_ROM_LOWER JSY$TRA_ROM_UPPER JSY$TRA_ROM_CASE JSY$TRA_ROM_KANA JSY$TRA_KANA_HIRA JSY$TRA_KANA_KATA JSY$TRA_KANA_KANA JSY$TRA_KANA_DAKU JSY$TRA_KANA_HALF JSY$TRA_KANA_FULL JSY$TRA_SYMBOL v

6 JLB$CNV_OPEN_DICTIONARY JSY$CNV_OPEN_DICTIONARY JLB$CNV_CLOSE_DICTIONARY JSY$CNV_CLOSE_DICTIONARY JLB$CNV_CONVERT JSY$CNV_CONVERT JLB$CNV_ROM_CONVERT JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_NEXT_WORD JSY$CNV_NEXT_WORD JLB$CNV_PREV_WORD JSY$CNV_PREV_WORD JLB$CNV_GET_CLAUSE JSY$CNV_GET_CLAUSE JSY$CNV_GET_PHONETIC_CLAUSE JLB$CNV_SHORTEN_CLAUSE JSY$CNV_SHORTEN_CLAUSE JLB$CNV_EXTEND_CLAUSE JSY$CNV_EXTEND_CLAUSE JLB$CNV_CLAUSE_HIRAGANA JSY$CNV_CLAUSE_HIRAGANA JLB$CNV_CLAUSE_KATAKANA JSY$CNV_CLAUSE_KATAKANA JLB$CNV_CLAUSE_FULL JSY$CNV_CLAUSE_FULL JLB$CNV_CLAUSE_HALF JSY$CNV_CLAUSE_HALF JLB$CNV_CLAUSE_SYMBOL JSY$CNV_CLAUSE_SYMBOL JLB$CNV_CLAUSE_NOCONVERT JSY$CNV_CLAUSE_NOCONVERT JLB$CNV_CLAUSE_DELETE JSY$CNV_CLAUSE_DELETE JLB$CNV_LEARN JSY$CNV_LEARN JLB$CNV_REGISTER_WORD JSY$CNV_REGISTER_WORD JLB$CNV_DELETE_WORD JSY$CNV_DELETE_WORD JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR JLB$TRA_DICINI JSY$TRA_DICINI JLB$TRA_DICCLS JSY$TRA_DICCLS JLB$ENT_TANGO JSY$ENT_TANGO JLB$DEL_TANGO JSY$DEL_TANGO JLB$TRA_ROM_TANGO JLB$TRA_KANA_TANGO JSY$TRA_KANA_TANGO JLB$TRA_TANGO_NEXT JSY$TRA_TANGO_NEXT JLB$TRA_TANGO_PREV JSY$TRA_TANGO_PREV JLB$TRA_TANGO_DONE JSY$TRA_TANGO_DONE vi

7 JLB$TRA_KANJI_DEC_JIS JLB$TRA_KANJI_JIS_DEC JLB$TRA_KANJI_DEC_HITACHI JLB$TRA_KANJI_HITACHI_DEC JLB$TRA_KANJI_DEC_IBM JLB$TRA_KANJI_IBM_DEC JLB$TRA_KANJI_DEC_JEF JLB$TRA_KANJI_JEF_DEC JLB$TRA_KANJI_DEC_NEC JLB$TRA_KANJI_NEC_DEC JLB$TRA_KANJI_DEC_MSDOS JLB$TRA_KANJI_MSDOS_DEC JLB$TRA_KANJI_DEC_CPM JLB$TRA_KANJI_CPM_DEC JSY$GTBL_TO_ASCII JSY$GTBL_TO_ASCII_K JSY$GTBL_TO_NEC JSY$GTBL_TO_NEC_K JSY$GTBL_TO_MSDOS JSY$GTBL_TO_MSDOS_K JSY$GTBL_TO_EBCDIK JSY$GTBL_EBCDIK_TO_ASCII DEC JLB$KCV_BEGIN_CONV JLB$KCV_END_CONV JLB$KCV_FIND JLB$KCV_CONVERT A vii

8 B B.1 /... B 1 B.2 /... B 6 B.3... B 8 B B 8 B B 8 B B 11 B B 11 B B JSY$GTBL_TO_ASCII JSY$GTBL_TO_ASCII_K JSY$GTBL_TO_NEC JSY$GTBL_TO_NEC_K JSY$GTBL_TO_MSDOS JSY$GTBL_TO_MSDOS_K JSY$GTBL_TO_EBCDIK JSY$GTBL_EBCDIK_TO_ASCII A 1 LK401-JJ LK401BJ... A 2 A 2... A 3 B 1 /... B 2 B 2 /... B 3 B 3... B 5 B B 8 B B 9 B B 10 B B 11 A 1... A 1 B 1 /... B 7 B 2... B 11 B B 12 viii

9 OpenVMS 1 OpenVMS A B OpenVMS RTL Library (LIB$) Manual OpenVMS RTL General Purpose (OTS$) Manual OpenVMS RTL Parallel Processing (PPL$) Manual OpenVMS RTL Screen Management (SMG$) Manual OpenVMS RTL String Manipulation (STR$) Manual ix

10 VMS RTL Mathematics (MTH$) Manual VMS RTL DECtalk (DTK$) Manual Ctrl/x Ctrl/x Ctrl PF1 x PF1 x PF1 Return HTML () [] 1 1 OpenVMS [ ] 1 {} 1 italic text UPPERCASE TEXT ( number) ( /PRODUCER=name) (device-name) x

11 Monospace C ( ) xi

12 1 / OpenVMS 1.1 OpenVMS DEC DEC 6 / SYS$SHARE:JSYSHR.EXE JSY$LIBRARY:JSYLIB.OLB

13 SYS$SHARE:JSYSHR.EXE $ LINK PROG,SYS$INPUT/OPTION SYS$SHARE:JSYSHR/SHARE $ $ LINK PROG,JSY$LIBRARY:JSYSHR/OPTION JSY$LIBRARY:JSYLIB.OLB SYS$SHARE:JSYSHR.EXE $ LINK PROG,JSY$LIBRARY:JSYLIB/LIBRARY,SYS$INPUT/OPTION SYS$SHARE:JSYSHR/SHARE $ LINK PROG,JSY$LIBRARY:JSYLIB/LIBRARY,JSY$LIBRARY:JSYSHR/OPTION JSY$LIBRARY:JSYLIB.OLB $ LINK PROG,JSY$LIBRARY:JSYLIB/LIBRARY 1 2

14 2 OpenVMS 2.1 FORTRAN JSY$EXAMPLES:GETINPUT.FOR $ $ getinput.for program sample character buff*40 integer stat! *, DEC FORTRAN do while (jlb$get_input(buff, :,leng)) *, :,buff end do end $ $ fortran getinput $ link getinput,jsy$library:jsyshr/option $ run getinput DEC FORTRAN : : : : : EXIT $ 2 1

15 2.2 C 2.2 C JSY$EXAMPLES:GETINPUT.C $ $ getinput.c #include <stdio.h> #include <ssdef.h> #include <descrip.h> main () /* */ { static char buff[40]; static char prom[] = " : "; $DESCRIPTOR(buf,buff); $DESCRIPTOR(pro,prom); short len; printf("\ndec C \n"); while (jlb$get_input(&buf,&pro,&len) == SS$_NORMAL) { buff[len] = 0; printf(" : %s\n",buff); } } $ $ cc getinput $ link getinput,sys$input:/option sys$share:jsyshr.exe/share *EXIT* $ run getinput DEC C : : : : : EXIT $ 2.3 MACRO JSY$EXAMPLES:GETINPUT.MAR $ $ getinput.mar.title test.psect data.show.macro string str.ascid /str/.endm string 2 2

16 2.3 MACRO data1:.ascid /MACRO / data2: string <MACRO > inp: string < : > oup:.long b3-b1.address b1 buff:.long b3-b2.address b2 b1:.ascii / : / b2:.blkb 40 b3:.psect code.entry test,^m<> ; pushaq data1 calls #1,g^lib$put_output pushaq data2 calls #1,g^lib$put_output loop: pushaq inp pushaq buff calls #2,g^jlb$get_input blbc r0,eof pushaq oup calls #1,g^lib$put_output brb loop eof: $exit_s.end test $ $ macro getinput $ link getinput,jsy$library:jsyshr/option $ run getinput MACRO MACRO : : : : : EXIT $ 2 3

17 3 ( 3.1 ) ( 3.2 ) ( 3.3 ) ( 3.4 ) ( 3.5 ) ( 3.6 ) /2 3.2 JLB$NOF_BYTE JLB$NOF_CHAR JLB$POS_CURR JLB$POS_NEXT JLB$POS_PREV JLB$POSITION JLB$STR_EQUAL JLB$STR_START JLB$STR_SEARCH JLB$TRIM JLB$TRUNC JLB$LOCC JLB$SKPC JLB$RCHAR // / // / // / 3 1

18 3.1 JLB$RNEXT JLB$WCHAR JLB$WNEXT 3.3 JLB$TRA_ROM_HALF JLB$TRA_ROM_FULL JLB$TRA_ROM_SIZE JLB$TRA_ROM_LOWER JLB$TRA_ROM_UPPER JLB$TRA_ROM_CASE JLB$TRA_ROM_KANA JLB$TRA_KANA_HIRA JLB$TRA_KANA_KATA JLB$TRA_KANA_KANA JLB$TRA_KANA_DAKU JLB$TRA_KANA_HALF JLB$TRA_KANA_FULL JLB$TRA_SYMBOL / / / // / / / / / / 3.4 JLB$GET_COMMAND JLB$GET_INPUT LIB$GET_COMMAND LIB$GET_INPUT 3.5 JLB$RMS_USER_VTF7 JLB$RMS_VTF7_USER JSY$RMS_GET_ENCODING JSY$RMS_LIST_ENCODING VTF-7 VTF-7 3 2

19 3.1 JSY$RMS_SET_ENCODING JSY$RMS_USER_VTF7 JSY$RMS_VTF7_USER RMS VTF-7 VTF-7 JLB$DATE_TIME JLB$DEV_KANJI JLB$DEV_KANJI_IN /2 3 3

20 JLB$NOF_BYTE JLB$NOF_BYTE nof-byte = JLB$NOF_BYTE ( src-str, nof-char ) src-str nof_char Descriptor Longword Reference nof_byte #include <stdio.h> #include <descrip.h> #include <string.h> 3 4

21 JLB$NOF_BYTE main() { struct dsc$descriptor_s src_str; int nof_byte; extern int jlb$nof_byte(); char src_str_body[] = " RTL"; int nof_char = 4; src_str.dsc$b_class = DSC$K_CLASS_S; src_str.dsc$b_d = DSC$K_DTYPE_T; src_str.dsc$w_length = strlen( src_str_body ); src_str.dsc$a_pointer = src_str_body; nof_byte = jlb$nof_byte( &src_str, &nof_char ); printf( " :\"%s\" :%d\n :%d\n", src_str_body, nof_char, nof_byte ); } 3 5

22 JLB$NOF_CHAR JLB$NOF_CHAR nof-char = JLB$NOF_CHAR ( src-str ) src-str Descriptor nof-char 3 6

23 JLB$POS_CURR JLB$POS_CURR index = JLB$POS_CURR ( src-str, curr-index ) src-str curr-index Descriptor Longword Reference index 3 7

24 JLB$POS_NEXT JLB$POS_NEXT index = JLB$POS_NEXT ( src-str, curr-index ) src-str curr-index Descriptor Longword Reference index curr-index src-str 0 curr-index 0 3 8

25 JLB$POS_NEXT #include <stdio.h> #include <descrip.h> #include <string.h> main() { struct dsc$descriptor_s src_str; int index; extern int jlb$pos_next(); char src_str_body[] = " RTL"; int curr_index = 1; src_str.dsc$b_class = DSC$K_CLASS_S; src_str.dsc$b_d = DSC$K_DTYPE_T; src_str.dsc$w_length = strlen( src_str_body ); src_str.dsc$a_pointer = src_str_body; index = jlb$pos_next( &src_str, &curr_index ); printf( " :\"%s\" :%d\n :%d\n", src_str_body, curr_index, index ); } 3 9

26 JLB$POS_PREV JLB$POS_PREV index = JLB$POS_PREV ( src-str, curr-index ) src-str curr-index Descriptor Longword Reference index curr-index src-str 0 curr-index

27 JLB$POSITION JLB$POSITION 0 index = JLB$POSITION ( src-str, sub-str [, start-pos] ) src-str sub-str start-pos Descriptor Descriptor ( 1) Longword Reference index

28 JLB$STR_EQUAL JLB$STR_EQUAL // / match = JLB$STR_EQUAL ( str1, str2 [, flg] ) strl str2 flg 1 Descriptor 2 Descriptor ( 0) Byte Reference bit 0 0 : / 1 : / bit 1 0 : / 1 : / bit 2 0 : / 1 : / match 1:

29 JLB$STR_EQUAL 0:

30 JLB$STR_START JLB$STR_START // / 1 2 match = JLB$STR_START ( str1, str2 [, flg]) strl str2 flg 1 Descriptor 2 Descriptor Byte Reference bit 0 0 : / 1 : / bit 1 0 : / 1 : / bit 2 0 : / 1 : / 3 14

31 JLB$STR_START match 1 : 1 2 0:

32 JLB$STR_SEARCH JLB$STR_SEARCH // / 0 index = JLB$STR_SEARCH ( src-str, sub-str[[, start-pos][, flg]] ) src-str sub-str start-pos flg Descriptor Descriptor ( 1) Longword Reference ( 0) Byte Reference bit 0 0 : / 1 : / bit 1 0 : / 1 : / bit 2 0 : / 3 16

33 JLB$STR_SEARCH 1 : / index 0 1 #include <stdio.h> #include <descrip.h> #include <string.h> main() { struct dsc$descriptor_s struct dsc$descriptor_s char flg; int index; } extern int char src_str; sub_str; jlb$str_search(); src_str_body[] = "", sub_str_body[] = " "; int start_pos = 1; src_str.dsc$b_class = DSC$K_CLASS_S; src_str.dsc$b_d = DSC$K_DTYPE_T; src_str.dsc$w_length = strlen( src_str_body ); src_str.dsc$a_pointer = src_str_body; sub_str.dsc$b_class = DSC$K_CLASS_S; sub_str.dsc$b_d = DSC$K_DTYPE_T; sub_str.dsc$w_length = strlen( sub_str_body ); sub_str.dsc$a_pointer = sub_str_body; printf( " 1:\"%s\" 2:\"%s\"\n", src_str_body, sub_str_body); for ( flg = 0; flg < 8; ++flg ) { index = jlb$str_search( &src_str, &sub_str, &start_pos, &flg ); printf( " :%1d :%d\n", flg, index ); } 3 17

34 JLB$TRIM JLB$TRIM ( ) ret-status = JLB$TRIM ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor ( ) Word Reference ret-status SS$_NORMAL LIB$_STRTRU 3 18

35 JLB$TRIM #include <stdio.h> #include <descrip.h> #include <ssdef.h> #include <libdef.h> #include <string.h> #include <ssdef.h> #include <stsdef.h> #include <varargs.h> main() { struct dsc$descriptor_s struct dsc$descriptor_s int ret_status; } dst_str; src_str; extern int jlb$trim(); char src_str_body[] = " "; char dst_str_body[] = " "; dst_str.dsc$b_class = src_str.dsc$b_class = DSC$K_CLASS_S; dst_str.dsc$b_d = src_str.dsc$b_d = DSC$K_DTYPE_T; src_str.dsc$w_length = strlen (src_str_body); dst_str.dsc$w_length = strlen (dst_str_body); src_str.dsc$a_pointer = src_str_body; dst_str.dsc$a_pointer = dst_str_body; printf( " :\"%s\"\n", src_str_body ); ret_status = jlb$trim( &dst_str, &src_str, &dst_str.dsc$w_length ); dst_str_body[ dst_str.dsc$w_length ] = \0 ; printf( " :\"%s\" :%d :", dst_str.dsc$a_pointer, dst_str.dsc$w_length ); switch ( ret_status ) { case SS$_NORMAL: printf( "SS$_NORMAL" ); break; case LIB$_STRTRU: printf( "LIB$_STRTRU" ); break; } putchar( \n ); 3 19

36 JLB$TRUNC JLB$TRUNC ret-status = JLB$TRUNC ( dst-str, src-str, size [, out-len] ) dst-str src-str size out-len Descriptor Descriptor Word Reference Word Reference 3 20

37 JLB$TRUNC ret-status SS$_NORMAL LIB$_STRTRU 3 21

38 JLB$LOCC JLB$LOCC 0 index = JLB$LOCC ( char-str, src-str ) char-str src-str Descriptor Descriptor index #include <stdio.h> #include <descrip.h> #include <string.h> 3 22

39 JLB$LOCC main() { struct dsc$descriptor_s struct dsc$descriptor_s int index; } extern int char char_str; src_str; jlb$locc(); char_str_body[] = " ", src_str_body[] = " "; char_str.dsc$b_class = src_str.dsc$b_class = DSC$K_CLASS_S; char_str.dsc$b_d = src_str.dsc$b_d = DSC$K_DTYPE_T; char_str.dsc$w_length = strlen( char_str_body ); char_str.dsc$a_pointer = char_str_body; src_str.dsc$w_length = strlen( src_str_body ); src_str.dsc$a_pointer = src_str_body; index = jlb$locc( &char_str, &src_str ); printf( " :\ %s\ :\"%s\"\n :%d\n", char_str_body, src_str_body, index ); 3 23

40 JLB$SKPC JLB$SKPC 0 index = JLB$SKPC ( char-str, src-str ) char-str src-str Descriptor Descriptor index char-str

41 JLB$RCHAR JLB$RCHAR char-code = JLB$RCHAR ( src-str [, pos] ) src-str pos Descriptor Longword Reference char-code 3 25

42 JLB$RNEXT JLB$RNEXT char-code = JLB$RNEXT ( src-str [, pos] ) src-str pos Descriptor Longword Reference char-code 3 26

43 JLB$WCHAR JLB$WCHAR ret-status = JLB$WCHAR ( char-code, dst-str [, pos] ) char-code dst-str pos Longword Reference Descriptor Longword Reference ret-status 1 : 0: 3 27

44 JLB$WNEXT JLB$WNEXT ret-status = JLB$WNEXT ( char-code, dst-str [, pos] ) char-code c dst-str pos Longword Reference Descriptor Longword Reference ret-status 1 : 0: 3 28

45

46 JLB$TRA_ROM_HALF JLB$TRA_ROM_HALF ret-status = JLB$TRA_ROM_HALF ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU "" "abcdefghijklmnop" 3 30

47 JLB$TRA_ROM_FULL JLB$TRA_ROM_FULL ret-status = JLB$TRA_ROM_FULL ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU "abcdefghijklmnop" "" 3 31

48 JLB$TRA_ROM_SIZE JLB$TRA_ROM_SIZE / ret-status = JLB$TRA_ROM_SIZE ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU "EFGHMNOP" "abcdijkl" 3 32

49 JLB$TRA_ROM_LOWER JLB$TRA_ROM_LOWER / ret-status = JLB$TRA_ROM_LOWER ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU "abcdefgh" "abcdefgh" 3 33

50 JLB$TRA_ROM_UPPER JLB$TRA_ROM_UPPER / ret-status = JLB$TRA_ROM_UPPER ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU "abcdefgh" "ABCDEFGH" 3 34

51 JLB$TRA_ROM_CASE JLB$TRA_ROM_CASE // ret-status = JLB$TRA_ROM_CASE ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU "abcdefgh" "ABCDefgh" 3 35

52 JLB$TRA_ROM_KANA JLB$TRA_ROM_KANA / ret-status = JLB$TRA_ROM_KANA ( dst-str, src-str [, flg [, out-len]] ) dst-str src-str flg out-len Descriptor Descriptor ( 0) Byte Reference bit 0 0 : 1 : Word Reference ret-status SS$_NORMAL 3 36

53 JLB$TRA_ROM_KANA LIB$_STRTRU : "ro-maji" " " " " : #include <stdio.h> #include <descrip.h> #include <string.h> #include <ssdef.h> #include <libdef.h> main() { struct dsc$descriptor_s struct dsc$descriptor_s char flg; int ret_status; dst_str; src_str; extern int jlb$tra_rom_kana(); char dst_str_body[] = " "; char src_str_body[] = "nihongo"; dst_str.dsc$b_class = DSC$K_CLASS_S; dst_str.dsc$b_d = DSC$K_DTYPE_T; dst_str.dsc$w_length = strlen( dst_str_body ); dst_str.dsc$a_pointer = dst_str_body; src_str.dsc$b_class = DSC$K_CLASS_S; src_str.dsc$b_d = DSC$K_DTYPE_T; src_str.dsc$w_length = strlen( src_str_body ); src_str.dsc$a_pointer = src_str_body; for ( flg = 0 ; flg < 2 ; ++flg ) { printf( " :\"%s\" :%1d\n", src_str_body, flg ); ret_status = jlb$tra_rom_kana( &dst_str, &src_str, &flg, &dst_str.dsc$w_length ); dst_str_body[ dst_str.dsc$w_length ] = \0 ; printf( " :\"%s\" :%d :", dst_str.dsc$a_pointer, dst_str.dsc$w_length ); 3 37

54 JLB$TRA_ROM_KANA } } switch ( ret_status ) { case SS$_NORMAL: printf( "SS$_NORMAL" ); break; case LIB$_STRTRU: printf( "LIB$_STRTRU" ); break; } printf( "\n\n" ); 3 38

55 JLB$TRA_KANA_HIRA JLB$TRA_KANA_HIRA ret-status = JLB$TRA_KANA_HIRA ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU " " " " 3 39

56 JLB$TRA_KANA_KATA JLB$TRA_KANA_KATA ret-status = JLB$TRA_KANA_KATA ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU " " " " 3 40

57 JLB$TRA_KANA_KANA JLB$TRA_KANA_KANA / ret-status = JLB$TRA_KANA_KANA ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU " " " " 3 41

58 JLB$TRA_KANA_DAKU JLB$TRA_KANA_DAKU / / ret-status = JLB$TRA_KANA_DAKU ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU " " " " 3 42

59 JLB$TRA_KANA_HALF JLB$TRA_KANA_HALF / ret-status = JLB$TRA_KANA_HALF ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU 3 43

60 JLB$TRA_KANA_HALF " " " " 3 44

61 JLB$TRA_KANA_FULL JLB$TRA_KANA_FULL / ret-status = JLB$TRA_KANA_FULL ( dst-str, src-str [, flg [, out-len]] ) dst-str src-str flg out-len Descriptor Descriptor Byte Reference bit 0 0 : 1 : bit 1 0 : / 1 : / Word Reference 3 45

62 JLB$TRA_KANA_FULL ret-status SS$_NORMAL LIB$_STRTRU 3 46

63 JLB$TRA_SYMBOL JLB$TRA_SYMBOL B.3 ret-status = JLB$TRA_SYMBOL ( dst-str, src-str [, out-len] ) dst-str src-str out-len Descriptor Descriptor Word Reference ret-status SS$_NORMAL LIB$_STRTRU 3 47

64 JLB$TRA_SYMBOL "[( )] <> k<> 123" " " 3 48

65

66 JLB$GET_COMMAND JLB$GET_COMMAND LIB$GET_COMMAND ret-status = JLB$GET_COMMAND ( get-str [,[prompt-str] [,[out-len] [,[src-str]]]] ) get-str prompt-str out-len src-str Descriptor Descriptor Word Reference Descriptor LIB$GET_COMMAND 3 50

67 JLB$GET_COMMAND ret-status SS$_NORMAL RMS$_EOF 3 51

68 JLB$GET_INPUT JLB$GET_INPUT LIB$GET_INPUT ret-status = JLB$GET_INPUT ( get-str [,[prompt-str] [,[out-len] [,[src-str]]]] ) get-str prompt-str out-len src-str Descriptor Descriptor Word Reference Descriptor LIB$GET_INPUT 3 52

69 JLB$GET_INPUT ret-status SS$_NORMAL RMS$_EOF 3 53

70 OpenVMS VAX 3 54

71 JLB$RMS_USER_VTF7 JLB$RMS_USER_VTF7 VTF-7 ret-status = JLB$RMS_USER_VTF7 ( [dst-str], src-str, out-len, [codeset] ) dst-str src-str out-len codeset Byte string Descriptor Byte string Descriptor Word Reference Byte string Descriptor 3 55

72 JLB$RMS_USER_VTF7 RMS Windows NT iconv Fixed-Length String Descriptor Dynamic String Descriptor ( dst-str ) out-len ( codeset ) ret-status SS$_NORMAL JSY$_STRTRU 3 56

73 JLB$RMS_VTF7_USER JLB$RMS_VTF7_USER VTF-7 ret-status = JLB$RMS_VTF7_USER ( [dst-str], src-str, out-len, [codeset]) dst-str src-str out-len codeset Byte string Descriptor Byte string Descriptor Word Reference Byte string Descriptor 3 57

74 JLB$RMS_VTF7_USER RMS Windows NT iconv Fixed-Length String Descriptor Dynamic String Descriptor ( dst-str ) out-len ( codeset ) ret-status SS$_NORMAL JSY$_STRTRU 3 58

75 JSY$RMS_GET_ENCODING JSY$RMS_GET_ENCODING RMS ret-status = JSY$RMS_GET_ENCODING ( dst-str, dst-len ) dst-str dst-len Value Longword Reference "sdeckanji" "DISABLE" ret-status SS$_NORMAL SS$_INSFARG SS$_TOO_MANY_ARGS 3 59

76 JSY$RMS_LIST_ENCODING JSY$RMS_LIST_ENCODING ret-status = JSY$RMS_LIST_ENCODING ( context, dst-str, dst-len ) context dst-str dst-len Longword Reference Value Longword Reference JSY$RMS_LIST_ENCODING context JSY$RMS_LIST_ENCODING SS$_NOMOREITEMS context 3 60

77 JSY$RMS_LIST_ENCODING ret-status SS$_NORMAL RMS$_EXTNOTFOU SS$_BADPARAM SS$_INSFARG SS$_NOMOREITEMS SS$_TOO_MANY_ARGS 3 61

78 JSY$RMS_SET_ENCODING JSY$RMS_SET_ENCODING RMS ret-status = JSY$RMS_SET_ENCODING ( src-str, src-len ) src-str src-len Value Longword Value "sdeckanji" "DEFAULT" / ret-status SS$_NORMAL RMS$_EXTNOTFOU SS$_ACCVIO SS$_BADPARAM 3 62

79 JSY$RMS_SET_ENCODING SS$_INSFARG SS$_TOO_MANY_ARGS 3 63

80 JSY$RMS_USER_VTF7 JSY$RMS_USER_VTF7 VTF-7 ret-status = JSY$RMS_USER_VTF7 ( src-str, src-len, [dst-str], [dst-len], out-len, [codeset], [codeset-len]) src-str src-len dst-str dst-len out-len Byte string Reference Longword Value Byte string Reference Longword Value Longword 3 64

81 JSY$RMS_USER_VTF7 codeset codeset-len Reference Byte string Reference Longword Value RMS Windows NT iconv ( dst-str dst-len ) out-len JSY$RMS_ USER_VTF7 ( codeset codeset-len ) ret-status SS$_NORMAL JSY$_STRTRU 3 65

82 JSY$RMS_VTF7_USER JSY$RMS_VTF7_USER VTF-7 ret-status = JSY$RMS_VTF7_USER ( src-str, src-len, [dst-str], [dst-len], out-len, [codeset], [codeset-len]) src-str src-len dst-str dst-len out-len Byte string Reference Longword Value Byte string Reference Longword Value Longword 3 66

83 JSY$RMS_VTF7_USER codeset codeset-len Reference Byte string Reference Longword Value RMS Windows NT iconv ( dst-str dst-len ) out-len JSY$RMS_ VTF7_USER ( codeset codeset-len ) ret-status SS$_NORMAL JSY$_STRTRU 3 67

84

85 JLB$DATE_TIME JLB$DATE_TIME ret-status = JLB$DATE_TIME ( dst-str [, flg[, out-len]] ) dst-str flg out-len Descriptor Byte Reference 0 : 12 ( ) 1 : 24 Word Reference ret-status SS$_NORMAL LIB$_STRTRU 3 69

86 JLB$DATE_TIME JLB$DATE_TIME SYS$STARTUP:JSY$DT_STARTUP.COM (SYS$STARTUP:JSY$STARTUP.COM ) $ define/system/exec jsy$era_name - "", - "", - "", - "" $ define/system/exec jsy$era_begin_date - " ", - " ", - " ", - " " $ define/system/exec jsy$era_display_form 1 3 JSY$ERA_DISPLAY_FORMAT 1 (0) (1) ( ) ( ) #include <stdio.h> #include <descrip.h> #include <ssdef.h> #include <libdef.h> #define BUFLEN 100 main() { struct dsc$descriptor_s dst_str; char flg; short int out_len; int ret_status; char buffer[ BUFLEN ]; extern int jlb$date_time(); 3 70

87 JLB$DATE_TIME } dst_str.dsc$b_class = DSC$K_CLASS_S; dst_str.dsc$b_d = DSC$K_DTYPE_T; dst_str.dsc$w_length = sizeof( buffer ); dst_str.dsc$a_pointer = buffer; for ( flg = 0 ; flg < 2 ; ++flg ) { ret_status = jlb$date_time( &dst_str, &flg, &out_len ); buffer[ out_len ] = \0 ; printf( " :%1d\n :\"%s\" :", flg, dst_str.dsc$a_pointer ); switch ( ret_status ) { case SS$_NORMAL: printf( "SS$_NORMAL" ); break; case LIB$_STRTRU: printf( "LIB$_STRTRU" ); break; } putchar( \n ); } 3 71

88 JLB$DEV_KANJI JLB$DEV_KANJI ret-status = JLB$DEV_KANJI ( device-name ) device-name Descriptor VT80 KANJIGEN SET /OUTPUT=KANJI ret-status 1 : 0: 3 72

89 JLB$DEV_KANJI_IN JLB$DEV_KANJI_IN ret-status = JLB$DEV_KANJI_IN ( device-name ) device-name Descriptor KANJIGEN SET /INPUT=KANJI ret-status 1 : 0: 3 73

90 4 1 ( 4.1 ) ( 4.2 ) ( 4.3 ) ( 4.4 ) /2 4.2 JSY$CH_NEXT JSY$CH_PREV JSY$CH_CURR JSY$POS_NEXT JSY$POS_PREV JSY$POS_CURR JSY$CH_RCHAR JSY$CH_RNEXT JSY$CH_WCHAR JSY$CH_WNEXT JSY$CH_GCHAR JSY$CH_GNEXT JSY$CH_PCHAR 4 1

91 4.1 JSY$CH_PNEXT JSY$CH_SIZE JSY$CH_NBYTE JSY$CH_NCHAR JSY$POSITION JSY$STR_EQUAL JSY$STR_START JSY$STR_SEARCH JSY$TRIM JSY$TRUNC JSY$LOCC JSY$SKPC // / // / // / 4.3 JSY$CHG_ROM_HALF JSY$CHG_ROM_FULL JSY$CHG_ROM_SIZE JSY$CHG_ROM_LOWER JSY$CHG_ROM_UPPER JSY$CHG_ROM_CASE JSY$CHG_KANA_HIRA JSY$CHG_KANA_KATA JSY$CHG_KANA_KANA JSY$CHG_KANA_DAKU JSY$CHG_KANA_HALF JSY$CHG_KANA_FULL JSY$CHG_GENERAL JSY$CHG_JIS_KUTEN JSY$CHG_KEISEN / / / // / / / / / / / / JIS DEC 4.4 JSY$TRA_ROM_HALF JSY$TRA_ROM_FULL 4 2

92 4.1 JSY$TRA_ROM_SIZE JSY$TRA_ROM_LOWER JSY$TRA_ROM_UPPER JSY$TRA_ROM_CASE JSY$TRA_ROM_KANA JSY$TRA_KANA_HIRA JSY$TRA_KANA_KATA JSY$TRA_KANA_KANA JSY$TRA_KANA_DAKU JSY$TRA_KANA_HALF JSY$TRA_KANA_FULL JSY$TRA_SYMBOL / / / // / / / / / / /2 4 3

93 JSY$CH_NEXT JSY$CH_NEXT next-ptr = JSY$CH_NEXT ( char-ptr ) char-ptr 1 Value next-ptr 1 1 #include <stdio.h> #include <string.h> static void create_display_string(); main() { char *char_ptr, *next_ptr; char string[] = " RTL"; char disp_str[32]; int byte_offset = 4; extern char *jsy$ch_next(); char_ptr = string + byte_offset; printf( " :\"%s\"\n", string ); create_display_string( char_ptr, disp_str ); printf( " :%s\n", disp_str ); 4 4

94 JSY$CH_NEXT next_ptr = jsy$ch_next( char_ptr ); create_display_string( next_ptr, disp_str ); printf( " :%s\n", disp_str ); } static void create_display_string(src, disp) char *src; char *disp; { int nof_byte_char = 1; unsigned char check; check = (unsigned char)(*src); if ( ( 0x0A1 <= check ) && ( check <= 0x0FE ) ) /* 2 */ nof_byte_char = 2; strncpy( disp, src, nof_byte_char ); disp[ nof_byte_char ] = \0 ; } 4 5

95 JSY$CH_PREV JSY$CH_PREV prev-ptr = JSY$CH_PREV ( top-ptr, char-ptr ) top-ptr char-ptr Value 1 Value prev-ptr 1 1 char-ptr top-ptr 0 4 6

96 JSY$CH_CURR JSY$CH_CURR curr-ptr = JSY$CH_CURR ( top-ptr, char-ptr ) top-ptr char-ptr Value 1 2 Value curr-ptr 1 char-ptr < top-ptr 0 4 7

97 JSY$POS_NEXT JSY$POS_NEXT next-ptr = JSY$POS_NEXT ( char-ptr, end-ptr ) char-ptr end-ptr 1 Value Value next-ptr 1 1 char-ptr end-ptr 0 4 8

98 JSY$POS_PREV JSY$POS_PREV prev-ptr = JSY$POS_PREV ( top-ptr, char-ptr, end-ptr ) top-ptr char-ptr end-ptr Value 1 Value Value prev-ptr 1 1 char-ptr top-ptr char-ptr end-ptr 0 #include <stdio.h> #include <string.h> #define MSB 0x80 static void create_display_string(); 4 9

99 JSY$POS_PREV main() { char *top_ptr, *char_ptr, *end_ptr, *prev_ptr; string[] = " RTL"; char char disp_str[32]; int byte_offset = 6; extern char *jsy$pos_prev(); top_ptr = string; end_ptr = string + strlen( string ); char_ptr = string + byte_offset; create_display_string( char_ptr, disp_str ); printf( " :\"%s\"\n", string ); printf( " :%s\n", disp_str ); prev_ptr = jsy$pos_prev( top_ptr, char_ptr, end_ptr ); create_display_string( prev_ptr, disp_str ); printf( " :%s\n", disp_str ); } static void create_display_string(src, disp) char *src; char *disp; { int nof_byte_char = 1; unsigned char check; check = (unsigned char)(*src); if ( ( 0x0A1 <= check ) && ( check <= 0x0FE ) ) /* 2 */ nof_byte_char = 2; strncpy( disp, src, nof_byte_char ); disp[ nof_byte_char ] = \0 ; } 4 10

100 JSY$POS_CURR JSY$POS_CURR curr-ptr = JSY$POS_CURR ( top-ptr, char-ptr, end-ptr ) top-ptr char-ptr end-ptr Value 1 2 Value Value curr-ptr 1 char-ptr < top-ptr char-pt end-ptr

101 JSY$CH_RCHAR JSY$CH_RCHAR char-code = JSY$CH_RCHAR ( char-ptr ) char-ptr 1 Value char-code 4 12

102 JSY$CH_RNEXT JSY$CH_RNEXT char-code = JSY$CH_RNEXT ( char-ptr ) char-ptr 1 Reference char-code 4 13

103 JSY$CH_WCHAR JSY$CH_WCHAR JSY$CH_WCHAR ( char-code, char-ptr ) char-code char-ptr Value 1 Value 4 14

104 JSY$CH_WNEXT JSY$CH_WNEXT JSY$CH_WNEXT ( char-code, char-ptr ) char-code char-ptr Value 1 Reference 4 15

105 JSY$CH_GCHAR JSY$CH_GCHAR char-code = JSY$CH_GCHAR ( char-ptr, end-ptr ) char-ptr end-ptr 1 Value Value char-code FFFF (16 ) 4 16

106 JSY$CH_GNEXT JSY$CH_GNEXT char-code = JSY$CH_GNEXT ( char-ptr, end-ptr ) char-ptr end-ptr 1 Reference Value char-code FFFF (16 ) 4 17

107 JSY$CH_PCHAR JSY$CH_PCHAR status = JSY$CH_PCHAR ( char-code, char-ptr, end-ptr ) char-code char-ptr end-ptr Value 1 Value Value status 1 : 0: (end-ptr ) 4 18

108 JSY$CH_PNEXT JSY$CH_PNEXT status = JSY$CH_PNEXT ( char-code, char-ptr, end-ptr ) char-code char-ptr end-ptr Value 1 Reference Value status 1 : 0: (end-ptr ) #include <stdio.h> #include <string.h> #define ENCODE( c )\ ( ( ( ( c ) & 0xff ) << 8 ) ( ( ( c ) & 0xff00 ) >> 8 ) ) static void create_display_string(); 4 19

109 JSY$CH_PNEXT main() { unsigned short int char_code; char *char_ptr, *end_ptr; int status; int byte_offset = 4; char string[] = " "; char disp_str[32]; extern int jsy$ch_pnext(); char_code = ENCODE( ); char_ptr = string + byte_offset; end_ptr = string + strlen( string ); printf( " :%c%c\n", ( char_code & 0xff00 ) >> 8, char_code & 0xff ); create_display_string( char_ptr, disp_str ); printf( " :\"%s\" :%s\n", string, disp_str ); status = jsy$ch_pnext( char_code, &char_ptr, end_ptr ); create_display_string( char_ptr, disp_str ); printf( " :\"%s\" :%s :%1d\n",) string, disp_str, status ); } static void create_display_string(src, disp) char *src; char *disp; { } int nof_byte_char = 1; unsigned char check; check = (unsigned char)(*src); if ( ( 0x0A1 <= check ) && ( check <= 0x0FE ) ) /* 2 */ nof_byte_char = 2; strncpy( disp, src, nof_byte_char ); disp[ nof_byte_char ] = \0 ; 4 20

110 JSY$CH_SIZE JSY$CH_SIZE nof-byte = JSY$CH_SIZE ( char-code ) char-code Value nof-byte

111 JSY$CH_NBYTE JSY$CH_NBYTE nof-byte = JSY$CH_NBYTE ( top-ptr,#nof-char ) top-ptr nof-char Value Value nof-byte top-ptr nof-char 4 22

112 JSY$CH_NCHAR JSY$CH_NCHAR nof-char = JSY$CH_NCHAR ( top-ptr,#nof-byte ) top-ptr nof-byte Value Value nof-char top-ptr nof-byte 4 23

113 JSY$POSITION JSY$POSITION address = JSY$POSITION ( src-str, src-len, sub-str, sub-len ) src-str src-len sub-str sub-len Value Value Value Value address 0 sub-len src-str 4 24

114 JSY$STR_EQUAL JSY$STR_EQUAL // / status = JSY$STR_EQUAL ( str1, len1, str2, len2, flg ) str1 len1 str2 len2 flg 1 Value 1 Value 2 Value 2 Value bit 0 0 : / 1 : / bit 1 0 : / 1 : / bit 2 0 : / 1 : / Value 4 25

115 JSY$STR_EQUAL ret-code 1 : 1 2 0:

116 JSY$STR_START JSY$STR_START // / 1 2 status = JSY$STR_START ( str1, len1, str2, len2, flg ) str1 len1 str2 len2 flg 1 Value 1 Value 2 Value 2 Value bit 0 0 : / 1 : / bit 1 0 : / 1 : / bit 2 0 : / 1 : / Value 4 27

117 JSY$STR_START ret-code 1 : 1 2 0:

118 JSY$STR_SEARCH JSY$STR_SEARCH // / address = JSY$STR_SEARCH ( src-str, src-len, sub-str, sub-len, flg ) src-str src-len sub-str sub-len flg Value Value Value Value bit 0 0 : / 1 : / bit 1 0 : / 1 : / bit 2 0 : / 1 : / Value 4 29

119 JSY$STR_SEARCH address 0 sub-len src-str 4 30

120 JSY$TRIM JSY$TRIM res-len = JSY$TRIM ( str, len ) str len Value Value res-len 4 31

121 JSY$TRUNC JSY$TRUNC res-len = JSY$TRUNC ( str, len, trunc-len ) str len trunc-len Value Value Value res-len 4 32

122 JSY$LOCC JSY$LOCC address = JSY$LOCC ( char-code, str, len ) char-code str len Value Value Value address

123 JSY$SKPC JSY$SKPC address = JSY$SKPC ( char-code, str, len ) char-code str len Value Value Value address

124

125 JSY$CHG_ROM_HALF JSY$CHG_ROM_HALF res-code = JSY$CHG_ROM_HALF ( char-code ) char-code Value res-code 4 36

126 JSY$CHG_ROM_FULL JSY$CHG_ROM_FULL res-code = JSY$CHG_ROM_FULL ( char-code ) char-code Value res-code 4 37

127 JSY$CHG_ROM_SIZE JSY$CHG_ROM_SIZE / res-code = JSY$CHG_ROM_SIZE ( char-code ) char-code Value res-code 4 38

128 JSY$CHG_ROM_LOWER JSY$CHG_ROM_LOWER / res-code = JSY$CHG_ROM_LOWER ( char-code ) char-code Value res-code 4 39

129 JSY$CHG_ROM_UPPER JSY$CHG_ROM_UPPER / res-code = JSY$CHG_ROM_UPPER ( char-code ) char-code Value res-code 4 40

130 JSY$CHG_ROM_CASE JSY$CHG_ROM_CASE // res-code = JSY$CHG_ROM_CASE ( char-code ) char-code Value res-code 4 41

131 JSY$CHG_KANA_HIRA JSY$CHG_KANA_HIRA res-code = JSY$CHG_KANA_HIRA ( char-code ) char-code Value res-code 4 42

132 JSY$CHG_KANA_KATA JSY$CHG_KANA_KATA res-code = JSY$CHG_KANA_KATA ( char-code ) char-code Value res-code 4 43

133 JSY$CHG_KANA_KANA JSY$CHG_KANA_KANA / res-code = JSY$CHG_KANA_KANA ( char-code ) char-code Value res-code 4 44

134 JSY$CHG_KANA_DAKU JSY$CHG_KANA_DAKU / / status = JSY$CHG_KANA_DAKU ( char-code, ten-code, res-code ) char-code ten-code res-code Value / Value ten-code Longword Reference status 1 : 0: 4 45

135 JSY$CHG_KANA_HALF JSY$CHG_KANA_HALF / status = JSY$CHG_KANA_HALF ( char-code, dst-str, res-len ) char-code dst-str res-len Value Value Longword Reference status 1 : 0: 4 46

136 JSY$CHG_KANA_FULL JSY$CHG_KANA_FULL / res-code = JSY$CHG_KANA_FULL ( char-code, flg ) char-code flg Value 0 : 1 : Value res-code 4 47

137 JSY$CHG_GENERAL JSY$CHG_GENERAL // / res-code = JSY$CHG_GENERAL ( char-code, flg ) char-code flg Value bit 0 0 : / 1 : / bit 1 0 : / 1 : / bit 2 0 : / 1 : / Value res-code 4 48

138 JSY$CHG_JIS_KUTEN JSY$CHG_JIS_KUTEN JIS DEC DEC DEC res-code = JSY$CHG_JIS_KUTEN ( kuten-code ) kuten-code Value res-code 4 49

139 JSY$CHG_KEISEN JSY$CHG_KEISEN res-code = JSY$CHG_KEISEN ( char-code ) char-code Value res-code 4 50

140

141 JSY$TRA_ROM_HALF JSY$TRA_ROM_HALF status = JSY$TRA_ROM_HALF ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 52

142 JSY$TRA_ROM_FULL JSY$TRA_ROM_FULL status = JSY$TRA_ROM_FULL ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 53

143 JSY$TRA_ROM_SIZE JSY$TRA_ROM_SIZE / status = JSY$TRA_ROM_SIZE ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 54

144 JSY$TRA_ROM_LOWER JSY$TRA_ROM_LOWER / status = JSY$TRA_ROM_LOWER ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 55

145 JSY$TRA_ROM_UPPER JSY$TRA_ROM_UPPER / status = JSY$TRA_ROM_UPPER ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 56

146 JSY$TRA_ROM_CASE JSY$TRA_ROM_CASE // status = JSY$TRA_ROM_CASE ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 57

147 JSY$TRA_ROM_KANA JSY$TRA_ROM_KANA / status = JSY$TRA_ROM_KANA ( src-str, src-len,#flg, dst-str, dst-len, out-len ) src-str src-len flg dst-str dst-len out-len Value Value bit 0 0 : 1 : Value Value Value Longword Reference 4 58

148 JSY$TRA_ROM_KANA status 1 : 0: 4 59

149 JSY$TRA_KANA_HIRA JSY$TRA_KANA_HIRA status = JSY$TRA_KANA_HIRA ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 60

150 JSY$TRA_KANA_KATA JSY$TRA_KANA_KATA status = JSY$TRA_KANA_KATA ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 61

151 JSY$TRA_KANA_KANA JSY$TRA_KANA_KANA / status = JSY$TRA_KANA_KANA ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 62

152 JSY$TRA_KANA_DAKU JSY$TRA_KANA_DAKU / / status = JSY$TRA_KANA_DAKU ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 63

153 JSY$TRA_KANA_HALF JSY$TRA_KANA_HALF / status = JSY$TRA_KANA_HALF ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len Value Value Value Value Longword Reference status 1 : 0: 4 64

154 JSY$TRA_KANA_FULL JSY$TRA_KANA_FULL / status = JSY$TRA_KANA_FULL ( src-str, src-len,#flg, dst-str, dst-len, out-len ) src-str src-len flg dst-str dst-len out-len Value Value bit 0 0 : 1 : bit 1 0 : / 1 : / Value Value Value Longword Reference 4 65

155 JSY$TRA_KANA_FULL status 1 : 0: 4 66

156 JSY$TRA_SYMBOL JSY$TRA_SYMBOL B.3 status = JSY$TRA_SYMBOL ( src-str, src-len, dst-str, dst-len, out-len ) src-str src-len dst-str dst-len out-len n n Value Value Value Value Longword Reference status 1 : 0: 4 67

157 5 JLB$xxxxx JSY$xxxxx 2 JLB$xxxxx VMS ( 5.1 ) ( 5.2 ) ( 5.3 ) ( 5.4 ) ( 5.5 ) JLB$CNV_OPEN_DICTIONARY JSY$CNV_OPEN_DICTIONARY JLB$CNV_CLOSE_DICTIONARY JSY$CNV_CLOSE_DICTIONARY JLB$CNV_CONVERT JSY$CNV_CONVERT JLB$CNV_ROM_CONVERT JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_NEXT_WORD JSY$CNV_NEXT_WORD JLB$CNV_PREV_WORD JSY$CNV_PREV_WORD JLB$CNV_GET_CLAUSE JSY$CNV_GET_CLAUSE 5 1

158 5.1 JSY$CNV_GET_PHONETIC_CLAUSE JLB$CNV_SHORTEN_CLAUSE JSY$CNV_SHORTEN_CLAUSE JLB$CNV_EXTEND_CLAUSE JSY$CNV_EXTEND_CLAUSE JLB$CNV_CLAUSE_HIRAGANA JSY$CNV_CLAUSE_HIRAGANA JLB$CNV_CLAUSE_KATAKANA JSY$CNV_CLAUSE_KATAKANA JLB$CNV_CLAUSE_FULL JSY$CNV_CLAUSE_FULL JLB$CNV_CLAUSE_HALF JSY$CNV_CLAUSE_HALF JLB$CNV_CLAUSE_SYMBOL JSY$CNV_CLAUSE_SYMBOL JLB$CNV_CLAUSE_NOCONVERT JSY$CNV_CLAUSE_NOCONVERT JLB$CNV_CLAUSE_DELETE JSY$CNV_CLAUSE_DELETE JLB$CNV_LEARN JSY$CNV_LEARN JLB$CNV_REGISTER_WORD JSY$CNV_REGISTER_WORD JLB$CNV_DELETE_WORD JSY$CNV_DELETE_WORD JLB$CNV_IO_ERROR I/O JSY$CNV_IO_ERROR I/O 5.3 JLB$TRA_DICINI JSY$TRA_DICINI JLB$TRA_DICCLS JSY$TRA_DICCLS JLB$ENT_TANGO JSY$ENT_TANGO JLB$DEL_TANGO JSY$DEL_TANGO JLB$TRA_ROM_TANGO JLB$TRA_KANA_TANGO 5 2

159 5.1 JSY$TRA_KANA_TANGO JLB$TRA_TANGO_NEXT JSY$TRA_TANGO_NEXT JLB$TRA_TANGO_PREV JSY$TRA_TANGO_PREV JLB$TRA_TANGO_DONE JSY$TRA_TANGO_DONE 5.2 (JLB$CNV_xxxxx JSY$CNV_xxxxx) JSY$LIBRARY FORTRAN PASCAL PL/I C MACRO BLISS JSYDEF.FOR JSYDEF.H JSYDEF.MAR JSYDEF.R32 JSYDEF.L32 FORTRAN C MACRO BLISS(REQUIRE) BLISS(LIBRARY) JLB$CNV_OPEN_DICTIONARY() JLB$CNV_CONVERT(...) JLB$CNV_GET_KANJI(...) JLB$CNV_NEXT_WORD(...) JLB$CNV_PREV_WORD(...) JLB$CNV_SHORTEN_CLAUSE(...) JLB$CNV_EXTEND_CLAUSE(...) JLB$CNV_LEARN() JLB$CNV_CLOSE_DICTIONARY() 5 3

160 JLB$CNV_OPEN_DICTIONARY JSY$CNV_OPEN_DICTIONARY JLB$CNV_OPEN_DICTIONARY JSY$CNV_OPEN_ DICTIONARY status = JLB$CNV_OPEN_DICTIONARY status = JSY$CNV_OPEN_DICTIONARY JSY$KOJIN_ MODE "3" () 5.4 status SS$_NORMAL JSY$_NOTDICFIL JSY$_RMSERR JLB$CNV_IO_ERROR JSY$CNV_IO_ ERROR I/O RMS JLB$CNV_ IO_ERROR JSY$CNV_IO_ERROR 5 4

161 JLB$CNV_OPEN_DICTIONARY JSY$CNV_OPEN_DICTIONARY JSY$_CNVINTERR () 5 5

162 JLB$CNV_CLOSE_DICTIONARY JSY$CNV_CLOSE_DICTIONARY JLB$CNV_CLOSE_DICTIONARY JSY$CNV_CLOSE_ DICTIONARY status = JLB$CNV_CLOSE_DICTIONARY status = JSY$CNV_CLOSE_DICTIONARY 5.4 status SS$_NORMAL 5 6

163 JLB$CNV_CONVERT JSY$CNV_CONVERT JLB$CNV_CONVERT JSY$CNV_CONVERT status = JLB$CNV_CONVERT ( yomi-str ) yomi-str () Descriptor status = JSY$CNV_CONVERT ( yomi-str, yomi-len ) yomi-str yomi-len michanism michanism () Reference () Longword Value JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI 5 7

164 JLB$CNV_CONVERT JSY$CNV_CONVERT status SS$_NORMAL JSY$_CANNOTCNV JSY$_CNVINTERR JSY$_DICNOTOPN JSY$_PHONTOOLNG JSY$_RMSERR 506 ( 253 ) I/O RMS JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR 5 8

165 JLB$CNV_ROM_CONVERT JLB$CNV_ROM_CONVERT status = JLB$CNV_ROM_CONVERT ( yomi-str ) yomi-str michanism () Descriptor (JLB$TRA_ ROM_KANA) JLB$CNV_GET_KANJI JSY$CNV_GET_ KANJI status SS$_NORMAL JSY$_CANNOTCNV JSY$_CNVINTERR 5 9

166 JLB$CNV_ROM_CONVERT JSY$_DICNOTOPN JSY$_PHONTOOLNG JSY$_RMSERR 253 I/O RMS JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR 5 10

167 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_CONVERT JLB$CNV_NEXT_WORD JLB$CNV_PREV_WORD () status = JLB$CNV_GET_KANJI ( kanji-str, clause-no [, out-len] ) kanji-str michanism clause-no michanism out-len michanism ( ) Descriptor Longword Reference () Word (Unsigned) Reference status = JSY$CNV_GET_KANJI ( kanji-str, kanji-len, out-len, clause-no ) kanji-str kanji-len michanism ( ) Value 5 11

168 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI michanism out-len michanism clause-no michanism () Longword Value () Longword Reference Longword Reference status SS$_NORMAL JSY$_INVCALL JSY$_STRTRU 5 12

169 JLB$CNV_NEXT_WORD JSY$CNV_NEXT_WORD JLB$CNV_NEXT_WORD JSY$CNV_NEXT_WORD status = JLB$CNV_NEXT_WORD ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_NEXT_WORD ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_GET_KANJI JSY$CNV_ GET_KANJI JSY$_ROUNDK 5 13

170 JLB$CNV_NEXT_WORD JSY$CNV_NEXT_WORD status SS$_NORMAL JSY$_ROUNDK JSY$_CNVINTERR JSY$_INVCALL JSY$_INVCLSNUM JSY$_RMSERR () I/O RMS JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR 5 14

171 JLB$CNV_PREV_WORD JSY$CNV_PREV_WORD JLB$CNV_PREV_WORD JSY$CNV_PREV_WORD status = JLB$CNV_PREV_WORD ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_PREV_WORD ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_GET_KANJI JSY$CNV_ GET_KANJI 5 15

172 JLB$CNV_PREV_WORD JSY$CNV_PREV_WORD status SS$_NORMAL JSY$_CNVINTERR JSY$_INVCALL JSY$_INVCLSNUM JSY$_RMSERR I/O RMS JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR 5 16

173 JLB$CNV_GET_CLAUSE JSY$CNV_GET_CLAUSE JLB$CNV_GET_CLAUSE JSY$CNV_GET_CLAUSE status = JLB$CNV_GET_CLAUSE ( clause-no, offset, length, flag ) clause-no offset length flag Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI Longword Reference JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI ( ) () Word (Unsigned) Reference Longword Reference 1 ( V4.5 ) 5 17

174 JLB$CNV_GET_CLAUSE JSY$CNV_GET_CLAUSE status = JSY$CNV_GET_CLAUSE ( clause-no, offset, length, flag ) clause-no offset length flag Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI Longword Reference JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI ( ) () Longword Reference Longword Reference 1 ( V4.5 ) status SS$_NORMAL JSY$_INVCALL JSY$_INVCLSNUM 5 18

175 JSY$CNV_GET_PHONETIC_CLAUSE JSY$CNV_GET_PHONETIC_CLAUSE status = JSY$CNV_GET_PHONETIC_CLAUSE ( clause-no, offset, length ) clause-no offset length Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI Longword Reference JLB$CNV_CONVERT JSY$CNV_CONVERT ( ) JLB$CNV_ROM_CONVERT JSY$CNV_ROM_CONVERT (JLB$TRA_ROM_KANA) ( ) () Longword Reference 5 19

176 JSY$CNV_GET_PHONETIC_CLAUSE status SS$_NORMAL JSY$_INVCALL JSY$_INVCLSNUM 5 20

177 JLB$CNV_SHORTEN_CLAUSE JSY$CNV_SHORTEN_CLAUSE JLB$CNV_SHORTEN_CLAUSE JSY$CNV_ SHORTEN_CLAUSE status = JLB$CNV_SHORTEN_CLAUSE ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_SHORTEN_CLAUSE ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI 5 21

178 JLB$CNV_SHORTEN_CLAUSE JSY$CNV_SHORTEN_CLAUSE status SS$_NORMAL JSY$_CANNOTCNV JSY$_CNVINTERR JSY$_INVCALL JSY$_INVCLSNUM JSY$_RMSERR I/O RMS JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR 5 22

179 JLB$CNV_EXTEND_CLAUSE JSY$CNV_EXTEND_CLAUSE JLB$CNV_EXTEND_CLAUSE JSY$CNV_EXTEND_ CLAUSE status = JLB$CNV_EXTEND_CLAUSE ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_EXTEND_CLAUSE ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI 5 23

180 JLB$CNV_EXTEND_CLAUSE JSY$CNV_EXTEND_CLAUSE status SS$_NORMAL JSY$_CANNOTCNV JSY$_CNVINTERR JSY$_INVCALL JSY$_INVCLSNUM JSY$_RMSERR I/O RMS JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR 5 24

181 JLB$CNV_CLAUSE_HIRAGANA JSY$CNV_CLAUSE_HIRAGANA JLB$CNV_CLAUSE_HIRAGANA JSY$CNV_ CLAUSE_HIRAGANA status = JLB$CNV_CLAUSE_HIRAGANA ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_CLAUSE_HIRAGANA ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI 5 25

182 JLB$CNV_CLAUSE_HIRAGANA JSY$CNV_CLAUSE_HIRAGANA status SS$_NORMAL JSY$_INVCALL JSY$_INVCLSNUM 5 26

183 JLB$CNV_CLAUSE_KATAKANA JSY$CNV_CLAUSE_KATAKANA JLB$CNV_CLAUSE_KATAKANA JSY$CNV_ CLAUSE_KATAKANA status = JLB$CNV_CLAUSE_KATAKANA ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_CLAUSE_KATAKANA ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI 2 JLB$CNV_GET_ KANJI JSY$CNV_GET_KANJI " " "/ "(/ ) " / " " / " 5 27

184 JLB$CNV_CLAUSE_KATAKANA JSY$CNV_CLAUSE_KATAKANA status SS$_NORMAL JSY$_INVCALL JSY$_INVCLSNUM JSY$_CNVINTERR 5 28

185 JLB$CNV_CLAUSE_FULL JSY$CNV_CLAUSE_FULL JLB$CNV_CLAUSE_FULL JSY$CNV_CLAUSE_FULL JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JLB$CNV_CLAUSE_FULL ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_CLAUSE_FULL ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status SS$_NORMAL JSY$_INVCALL 5 29

186 JLB$CNV_CLAUSE_FULL JSY$CNV_CLAUSE_FULL JSY$_INVCLSNUM JSY$_CNVINTERR 5 30

187 JLB$CNV_CLAUSE_HALF JSY$CNV_CLAUSE_HALF JLB$CNV_CLAUSE_HALF JSY$CNV_CLAUSE_ HALF JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JLB$CNV_CLAUSE_HALF ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_CLAUSE_HALF ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status SS$_NORMAL 5 31

188 JLB$CNV_CLAUSE_HALF JSY$CNV_CLAUSE_HALF JSY$_INVCALL JSY$_INVCLSNUM JSY$_CNVINIERR 5 32

189 JLB$CNV_CLAUSE_SYMBOL JSY$CNV_CLAUSE_SYMBOL JLB$CNV_CLAUSE_SYMBOL JSY$CNV_CLAUSE_ SYMBOL JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JLB$CNV_CLAUSE_SYMBOL ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_CLAUSE_SYMBOL ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status SS$_NORMAL 5 33

190 JLB$CNV_CLAUSE_SYMBOL JSY$CNV_CLAUSE_SYMBOL JSY$_INVCALL JSY$_INVCLSNUM JSY$_CNVINIERR 5 34

191 JLB$CNV_CLAUSE_NOCONVERT JSY$CNV_CLAUSE_NOCONVERT JLB$CNV_CLAUSE_NOCONVERT JSY$CNV_ CLAUSE_NOCONVERT status = JLB$CNV_CLAUSE_NOCONVERT ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_CLAUSE_NOCONVERT ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$TRA_ROM_CONVERT JSY$TRA_ROM_CONVERT JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI 5 35

192 JLB$CNV_CLAUSE_NOCONVERT JSY$CNV_CLAUSE_NOCONVERT status SS$_NORMAL JSY$_INVCALL JSY$_INVCLSNUM JSY$_CNVINIERR 5 36

193 JLB$CNV_CLAUSE_DELETE JSY$CNV_CLAUSE_DELETE JLB$CNV_CLAUSE_DELETE JSY$CNV_CLAUSE_ DELETE status = JLB$CNV_CLAUSE_DELETE ( clause-no ) clause-no Longword Reference 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI status = JSY$CNV_CLAUSE_DELETE ( clause-no ) clause-no Longword Value 1 JLB$CNV_GET_KANJI JSY$CNV_GET_KANJI JLB$CNV_GET_ KANJI () 5 37

194 JLB$CNV_CLAUSE_DELETE JSY$CNV_CLAUSE_DELETE status SS$_NORMAL JSY$_INVCALL JSY$_INVCLSNUM JSY$_RMSERR JSY$_WRDNOTFND JSY$_CNVINIERR I/O RMS JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR 5 38

195 JLB$CNV_LEARN JSY$CNV_LEARN JLB$CNV_LEARN JSY$CNV_LEARN status = JLB$CNV_LEARN status = JSY$CNV_LEARN 5.4 status SS$_NORMAL JSY$_INDEXFULL JSY$_INVCALL JSY$KOJIN

196 JLB$CNV_LEARN JSY$CNV_LEARN JSY$_RMSERR JSY$_CNVINIERR I/O RMS JLB$CNV_ IO_ERROR JSY$CNV_IO_ERROR 5 40

197 JLB$CNV_REGISTER_WORD JSY$CNV_REGISTER_WORD JLB$CNV_REGISTER_WORD JSY$CNV_ REGISTER_WORD status = JLB$CNV_REGISTER_WORD ( yomi-str, kanji-str ) yomi-str kanji-str Descriptor 16 1 Descriptor 80 ( 40 ) status = JSY$CNV_REGISTER_WORD ( yomi-str, yomi-len, kanji-str, kanji-len ) yomi-str yomi-len Reference

198 JLB$CNV_REGISTER_WORD JSY$CNV_REGISTER_WORD kanji-str kanji-len () Longword Value 16 1 Reference 80 ( 40 ) () Longword Value status SS$_NORMAL SS$_DICNOTOPN JSY$_INDEXFULL JSY$_INVPHONSTR JSY$_PHONTOOLNG JSY$_RMSERR JSY$_WRDTOOLNG JSY$_CNVINIERR JSY$KOJIN I/O RMS JLB$CNV_ IO_ERROR JSY$CNV_IO_ERROR 80 ( 40 ) 5 42

199 JLB$CNV_DELETE_WORD JSY$CNV_DELETE_WORD JLB$CNV_DELETE_WORD JSY$CNV_DELETE_ WORD status = JLB$CNV_DELETE_WORD ( yomi-str, kanji-str ) yomi-str kanji-str Descriptor 16 1 Descriptor status = JSY$CNV_DELETE_WORD ( yomi-str, yomi-len, kanji-str, kanji-len ) yomi-str yomi-len Reference 16 1 () Longword 5 43

200 JLB$CNV_DELETE_WORD JSY$CNV_DELETE_WORD kanji-str kanji-len Value Value () Longword Value status SS$_NORMAL SS$_DICNOTOPN JSY$_INVPHONSTR JSY$_PHONTOOLNG JSY$_RMSERR JSY$_WRDNOTFND JSY$_WRDTOOLNG JSY$_CNVINIERR 16 1 I/O RMS JLB$CNV_ IO_ERROR JSY$CNV_IO_ERROR 80 ( 40 ) 5 44

201 JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR I/O status = JLB$CNV_IO_ERROR ( file-name, dic-, rms-sts, rms-stv, name-len ) file-name Descriptor dic- Longword Reference 1 = 2 = rms-sts RMS 1 Longword Reference rms-stv RMS 2 Longword Reference name-len Word (Unsigned) Reference 5 45

202 JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR status = JSY$CNV_IO_ERROR ( file-name, file-len, name-len, dic-, rms-sts ) file-name file-len name-len dic- rms-sts Reference Longword Value Longword Reference Longword Reference 1 = 2 = RMS 2 Longword Reference JLB$CNV_xxxxxx JSY$CNV_xxxxxx I/O JLB$CNV_xxxxxx JSY$CNV_xxxxxx I/O JSY$_RMSERR rms-sts RMS$_NORMAL 5 46

203 JLB$CNV_IO_ERROR JSY$CNV_IO_ERROR status SS$_NORMAL JSY$_STRTRU 5 47

204 JLB$TRA_DICINI JLB$TRA_ROM_KANA JLB$TRA_KANA_TANGO(...) JLB$TRA_ROM_TANGO(...) JLB$TRA_TANGO_NEXT(...) JLB$TRA_TANGO_PREV(...) JLB$DEL_TANGO JLB$TRA_TANGO_DONE JLB$TRA_DICCLS 5 48

205 JLB$TRA_DICINI JSY$TRA_DICINI JLB$TRA_DICINI JSY$TRA_DICINI status = JLB$TRA_DICINI status SS$_NORMAL status = JSY$TRA_DICINI status SS$_NORMAL 0 RMS RMS LIB$STOP 5 49

206 JLB$TRA_DICCLS JSY$TRA_DICCLS JLB$TRA_DICCLS JSY$TRA_DICCLS status = JLB$TRA_DICCLS status = JSY$TRA_DICCLS status SS$_NORMAL 5 50

207 JLB$ENT_TANGO JSY$ENT_TANGO JLB$ENT_TANGO JSY$ENT_TANGO status = JLB$ENT_TANGO ( kana-str, tango-str ) kana-str tango-str (/) Descriptor Descriptor status = JSY$ENT_TANGO ( kana-str, kana-len, tango-str, tango-len ) kana-str kana-len tango-str (/) Reference Longword Value Reference 5 51

:30 12:00 I. I VI II. III. IV. a d V. VI

:30 12:00 I. I VI II. III. IV. a d V. VI 2017 2017 08 03 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF X [ S ] a S S ; X X X, S [, a, ], ; BNF X (parse tree) (1) [a;a] (2) [[a]] (3) [a;[a]] (4) [[a];a] : [a] X 2 222222

More information

:30 12:00 I. I VI II. III. IV. a d V. VI

:30 12:00 I. I VI II. III. IV. a d V. VI 2018 2018 08 02 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF N N y N x N xy yx : yxxyxy N N x, y N (parse tree) (1) yxyyx (2) xyxyxy (3) yxxyxyy (4) yxxxyxxy N y N x N yx

More information

I. Backus-Naur BNF : N N 0 N N N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) (2) (3) (4) II. 0(0 101)* (

I. Backus-Naur BNF : N N 0 N N N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) (2) (3) (4) II. 0(0 101)* ( 2016 2016 07 28 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF : 11011 N N 0 N N 11 1001 N N N N 0, 1 BNF N N 0 11 (parse tree) 11 (1) 1100100 (2) 1111011 (3) 1110010 (4) 1001011

More information

C言語によるアルゴリズムとデータ構造

C言語によるアルゴリズムとデータ構造 Algorithms and Data Structures in C 4 algorithm List - /* */ #include List - int main(void) { int a, b, c; int max; /* */ Ÿ 3Ÿ 2Ÿ 3 printf(""); printf(""); printf(""); scanf("%d", &a); scanf("%d",

More information

I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) + x * x + x x (4) * *

I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) + x * x + x x (4) * * 2015 2015 07 30 10:30 12:00 I. I VI II. III. IV. a d V. VI. 80 100 60 1 I. Backus-Naur BNF S + S S * S S x S +, *, x BNF S (parse tree) : * x + x x S * S x + S S S x x (1) * x x * x (2) * + x x x (3) +

More information

Microsoft Word - C.....u.K...doc

Microsoft Word - C.....u.K...doc C uwêííôöðöõ Ð C ÔÖÐÖÕ ÐÊÉÌÊ C ÔÖÐÖÕÊ C ÔÖÐÖÕÊ Ç Ê Æ ~ if eíè ~ for ÒÑÒ ÌÆÊÉÉÊ ~ switch ÉeÍÈ ~ while ÒÑÒ ÊÍÍÔÖÐÖÕÊ ~ 1 C ÔÖÐÖÕ ÐÊÉÌÊ uê~ ÏÒÏÑ Ð ÓÏÖ CUI Ô ÑÊ ÏÒÏÑ ÔÖÐÖÕÎ d ÈÍÉÇÊ ÆÒ Ö ÒÐÑÒ ÊÔÎÏÖÎ d ÉÇÍÊ

More information

joho07-1.ppt

joho07-1.ppt 0xbffffc5c 0xbffffc60 xxxxxxxx xxxxxxxx 00001010 00000000 00000000 00000000 01100011 00000000 00000000 00000000 xxxxxxxx x y 2 func1 func2 double func1(double y) { y = y + 5.0; return y; } double func2(double*

More information

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU

PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 1. 1.1. 1.2. 1 PC Windows 95, Windows 98, Windows NT, Windows 2000, MS-DOS, UNIX CPU 2. 2.1. 2 1 2 C a b N: PC BC c 3C ac b 3 4 a F7 b Y c 6 5 a ctrl+f5) 4 2.2. main 2.3. main 2.4. 3 4 5 6 7 printf printf

More information

1... 1 1... 1 2... 1 3... 1 4... 4 5... 7 6... 7 7... 12 8... 12 9... 13 10... 13 11... 13 12... 14 2... 14 1... 14 2... 16 3... 18 4... 19 5... 19 6.

1... 1 1... 1 2... 1 3... 1 4... 4 5... 7 6... 7 7... 12 8... 12 9... 13 10... 13 11... 13 12... 14 2... 14 1... 14 2... 16 3... 18 4... 19 5... 19 6. 3 2620149 1 3 8 3 2 198809 1/1 198809 1 1 3 4 5 JISJIS X 0208 : 1997 JIS 4 JIS X 0213:2004 http://www.pref.hiroshima.lg.jp/site/monjokan/ 1... 1 1... 1 2... 1 3... 1 4... 4 5... 7 6... 7 7... 12 8... 12

More information

新・明解C言語 ポインタ完全攻略

新・明解C言語 ポインタ完全攻略 2 1-1 1-1 /* 1-1 */ 1 int n = 100; int *p = &n; printf(" n %d\n", n); /* n int */ printf("*&n %d\n", *&n); /* *&n int */ printf(" p %p\n", p); /* p int * */ printf("&*p %p\n", &*p); /* &*p int * */ printf("sizeof(n)

More information

ARM gcc Kunihiko IMAI 2009 1 11 ARM gcc 1 2 2 2 3 3 4 3 4.1................................. 3 4.2............................................ 4 4.3........................................

More information

C ( ) C ( ) C C C C C 1 Fortran Character*72 name Integer age Real income 3 1 C mandata mandata ( ) name age income mandata ( ) mandat

C ( ) C ( ) C C C C C 1 Fortran Character*72 name Integer age Real income 3 1 C mandata mandata ( ) name age income mandata ( ) mandat C () 14 5 23 C () C C C C C 1 Fortran Character*72 name Integer age Real income 3 1 C 1.1 3 7 mandata mandata () name age income mandata () mandata1 1 #include struct mandata char name[51];

More information

untitled

untitled II yacc 005 : 1, 1 1 1 %{ int lineno=0; 3 int wordno=0; 4 int charno=0; 5 6 %} 7 8 %% 9 [ \t]+ { charno+=strlen(yytext); } 10 "\n" { lineno++; charno++; } 11 [^ \t\n]+ { wordno++; charno+=strlen(yytext);}

More information

C B

C B C 095707B 2010 6 8 1 LEVE1 2 1.1 LEVEL 1.1................................................ 2 1.1.1 1................................................ 2 1.1.2 1.2..............................................

More information

XMPによる並列化実装2

XMPによる並列化実装2 2 3 C Fortran Exercise 1 Exercise 2 Serial init.c init.f90 XMP xmp_init.c xmp_init.f90 Serial laplace.c laplace.f90 XMP xmp_laplace.c xmp_laplace.f90 #include int a[10]; program init integer

More information

r07.dvi

r07.dvi 19 7 ( ) 2019.4.20 1 1.1 (data structure ( (dynamic data structure 1 malloc C free C (garbage collection GC C GC(conservative GC 2 1.2 data next p 3 5 7 9 p 3 5 7 9 p 3 5 7 9 1 1: (single linked list 1

More information

ohp07.dvi

ohp07.dvi 19 7 ( ) 2019.4.20 1 (data structure) ( ) (dynamic data structure) 1 malloc C free 1 (static data structure) 2 (2) C (garbage collection GC) C GC(conservative GC) 2 2 conservative GC 3 data next p 3 5

More information

K227 Java 2

K227 Java 2 1 K227 Java 2 3 4 5 6 Java 7 class Sample1 { public static void main (String args[]) { System.out.println( Java! ); } } 8 > javac Sample1.java 9 10 > java Sample1 Java 11 12 13 http://java.sun.com/j2se/1.5.0/ja/download.html

More information

‚æ4›ñ

‚æ4›ñ ( ) ( ) ( ) A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z 0 1 2 3 4 5 6 7 8 9 (OUS) 9 26 1 / 28 ( ) ( ) ( ) A B C D Z a b c d z 0 1 2 9 (OUS) 9

More information

r08.dvi

r08.dvi 19 8 ( ) 019.4.0 1 1.1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( ) 1 next 1 prev 1 head cur tail head cur prev

More information

ohp08.dvi

ohp08.dvi 19 8 ( ) 2019.4.20 1 (linked list) ( ) next ( 1) (head) (tail) ( ) top head tail head data next 1: 2 (2) NULL nil ( ) NULL ( NULL ) ( 1 ) (double linked list ) ( 2) 3 (3) head cur tail head cur prev data

More information

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1

/ SCHEDULE /06/07(Tue) / Basic of Programming /06/09(Thu) / Fundamental structures /06/14(Tue) / Memory Management /06/1 I117 II I117 PROGRAMMING PRACTICE II 2 MEMORY MANAGEMENT 2 Research Center for Advanced Computing Infrastructure (RCACI) / Yasuhiro Ohara yasu@jaist.ac.jp / SCHEDULE 1. 2011/06/07(Tue) / Basic of Programming

More information

Minimum C Minimum C Minimum C BNF T okenseq W hite Any D

Minimum C Minimum C Minimum C BNF T okenseq W hite Any D 6 2019 5 14 6.1 Minimum C....................... 6 1 6.2....................................... 6 7 6.1 Minimum C Minimum C BNF T okenseq W hite Any Digit ::= 0 1 2... 9. Number ::= Digit Digit. Alphabet

More information

III

III III 1 1 2 1 2 3 1 3 4 1 3 1 4 1 3 2 4 1 3 3 6 1 4 6 1 4 1 6 1 4 2 8 1 4 3 9 1 5 10 1 5 1 10 1 5 2 12 1 5 3 12 1 5 4 13 1 6 15 2 1 18 2 1 1 18 2 1 2 19 2 2 20 2 3 22 2 3 1 22 2 3 2 24 2 4 25 2 4 1 25 2

More information

iii iv v vi vii viii ix 1 1-1 1-2 1-3 2 2-1 3 3-1 3-2 3-3 3-4 4 4-1 4-2 5 5-1 5-2 5-3 5-4 5-5 5-6 5-7 6 6-1 6-2 6-3 6-4 6-5 6 6-1 6-2 6-3 6-4 6-5 7 7-1 7-2 7-3 7-4 7-5 7-6 7-7 7-8 7-9 7-10 7-11 8 8-1

More information

untitled

untitled C -1 - -2 - concept lecture keywords FILE, fopen, fclose, fscanf, fprintf, EOF, r w a, typedef gifts.dat Yt JZK-3 Jizake tsumeawase 45 BSP-15 Body soap set 3 BT-2 Bath towel set 25 TEA-2 Koutya

More information

橡Pro PDF

橡Pro PDF 1 void main( ) char c; /* int c; */ int sum=0; while ((c = getchar())!= EOF) if(isdigit(c) ) sum += (c-'0'); printf("%d\n", sum); main()int i,sum=0; for(i=0;i

More information

1... 1 2... 1 1... 1 2... 2 3... 2 4... 4 5... 4 6... 4 7... 22 8... 22 3... 22 1... 22 2... 23 3... 23 4... 24 5... 24 6... 25 7... 31 8... 32 9... 3

1... 1 2... 1 1... 1 2... 2 3... 2 4... 4 5... 4 6... 4 7... 22 8... 22 3... 22 1... 22 2... 23 3... 23 4... 24 5... 24 6... 25 7... 31 8... 32 9... 3 3 2620149 3 6 3 2 198812 21/ 198812 21 1 3 4 5 JISJIS X 0208 : 1997 JIS 4 JIS X 0213:2004 http://www.pref.hiroshima.lg.jp/site/monjokan/ 1... 1 2... 1 1... 1 2... 2 3... 2 4... 4 5... 4 6... 4 7... 22

More information

エクセルカバー入稿用.indd

エクセルカバー入稿用.indd i 1 1 2 3 5 5 6 7 7 8 9 9 10 11 11 11 12 2 13 13 14 15 15 16 17 17 ii CONTENTS 18 18 21 22 22 24 25 26 27 27 28 29 30 31 32 36 37 40 40 42 43 44 44 46 47 48 iii 48 50 51 52 54 55 59 61 62 64 65 66 67 68

More information

01_.g.r..

01_.g.r.. I II III IV V VI VII VIII IX X XI I II III IV V I I I II II II I I YS-1 I YS-2 I YS-3 I YS-4 I YS-5 I YS-6 I YS-7 II II YS-1 II YS-2 II YS-3 II YS-4 II YS-5 II YS-6 II YS-7 III III YS-1 III YS-2

More information

Networking Semester 802.3

Networking Semester 802.3 Networking Semester 802.3 2 ) ( Computer Hardware () () () () () () () () ()- () () () () () BIOS () Computer Software Operating Systems Windows, Linux Linux Windows OS I 1.C 2. 3. 3-1.main 3-2.printf

More information

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL 2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b

(2 Linux Mozilla [ ] [ ] [ ] [ ] URL   2 qkc, nkc ~/.cshrc (emacs 2 set path=($path /usr/meiji/pub/linux/bin tcsh b II 5 (1 2005 5 26 http://www.math.meiji.ac.jp/~mk/syori2-2005/ UNIX (Linux Linux 1 : 2005 http://www.math.meiji.ac.jp/~mk/syori2-2005/jouhousyori2-2005-00/node2. html ( (Linux 1 2 ( ( http://www.meiji.ac.jp/mind/tool/internet-license/

More information

untitled

untitled II 4 Yacc Lex 2005 : 0 1 Yacc 20 Lex 1 20 traverse 1 %% 2 [0-9]+ { yylval.val = atoi((char*)yytext); return NUM; 3 "+" { return + ; 4 "*" { return * ; 5 "-" { return - ; 6 "/" { return / ; 7 [ \t] { /*

More information

: Nonblocking I/O readpartial read EOF Solaris FILE 256 ungetc SEGV errno stdio considered harmful p.

: Nonblocking I/O readpartial read EOF Solaris FILE 256 ungetc SEGV errno stdio considered harmful p. stdio considered harmful akr@m17n.org 2005 06 02 stdio considered harmful p. : Nonblocking I/O readpartial read EOF Solaris FILE 256 ungetc SEGV errno stdio considered harmful p. : stdio stdio Nonblocking

More information

Compiler Differences on OpenVMS I64

Compiler Differences on OpenVMS I64 Itanium OpenVMS 2006 4 4 2006 4 6 OpenVMS Technical Director gaitan.dantoni@hp.com Intel Intel Inside Itanium Intel Corporation Portions 1998-2005 Intel Corporation Portions 1998-2005 Hewlett-Packard Corporation

More information

ohp03.dvi

ohp03.dvi 19 3 ( ) 2019.4.20 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void int main(int argc, char *argv[]) {... 2 (2) argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0

More information

1.ppt

1.ppt /* * Program name: hello.c */ #include int main() { printf( hello, world\n ); return 0; /* * Program name: Hello.java */ import java.io.*; class Hello { public static void main(string[] arg)

More information

18 C ( ) hello world.c 1 #include <stdio.h> 2 3 main() 4 { 5 printf("hello World\n"); 6 } [ ] [ ] #include <stdio.h> % cc hello_world.c %./a.o

18 C ( ) hello world.c 1 #include <stdio.h> 2 3 main() 4 { 5 printf(hello World\n); 6 } [ ] [ ] #include <stdio.h> % cc hello_world.c %./a.o 18 C ( ) 1 1 1.1 hello world.c 5 printf("hello World\n"); 6 } [ ] [ ] #include % cc hello_world.c %./a.out Hello World [a.out ] % cc hello_world.c -o hello_world [ ( ) ] (K&R 4.1.1) #include

More information

program.dvi

program.dvi 2001.06.19 1 programming semi ver.1.0 2001.06.19 1 GA SA 2 A 2.1 valuename = value value name = valuename # ; Fig. 1 #-----GA parameter popsize = 200 mutation rate = 0.01 crossover rate = 1.0 generation

More information

<4D6963726F736F667420506F776572506F696E74202D208376838C835B83938365815B835683878393312E707074205B8CDD8AB78382815B83685D>

<4D6963726F736F667420506F776572506F696E74202D208376838C835B83938365815B835683878393312E707074205B8CDD8AB78382815B83685D> i i vi ii iii iv v vi vii viii ix 2 3 4 5 6 7 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 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

More information

SC-85X2取説

SC-85X2取説 I II III IV V VI .................. VII VIII IX X 1-1 1-2 1-3 1-4 ( ) 1-5 1-6 2-1 2-2 3-1 3-2 3-3 8 3-4 3-5 3-6 3-7 ) ) - - 3-8 3-9 4-1 4-2 4-3 4-4 4-5 4-6 5-1 5-2 5-3 5-4 5-5 5-6 5-7 5-8 5-9 5-10 5-11

More information

CM-3G 周辺モジュール拡張技術文書 MS5607センサ(温度、気圧)

CM-3G 周辺モジュール拡張技術文書 MS5607センサ(温度、気圧) CM-3G 周辺モジュール拡張技術文書 MS5607 センサ ( 温度 気圧 ) ( 第 1 版 ) Copyright (C)2016 株式会社コンピューテックス 目次 1. はじめに... 1 2. MS5607 について... 1 3. 接続図... 1 4. アプリケーション ソース... 2 5. アプリケーションのコンパイル方法... 7 6. アプリケーションの実行... 8 1. はじめに

More information

Original : Hello World! (0x0xbfab85e0) Copy : Hello World! (0x0x804a050) fgets mstrcpy malloc mstrcpy (main ) mstrcpy malloc free fgets stream 1 ( \n

Original : Hello World! (0x0xbfab85e0) Copy : Hello World! (0x0x804a050) fgets mstrcpy malloc mstrcpy (main ) mstrcpy malloc free fgets stream 1 ( \n 2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test

More information

3 5 18 3 5000 1 2 7 8 120 1 9 1954 29 18 12 30 700 4km 1.5 100 50 6 13 5 99 93 34 17 2 2002 04 14 16 6000 12 57 60 1986 55 3 3 3 500 350 4 5 250 18 19 1590 1591 250 100 500 20 800 20 55 3 3 3 18 19 1590

More information

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l

1 C STL(1) C C C libc C C C++ STL(Standard Template Library ) libc libc C++ C STL libc STL iostream Algorithm libc STL string vector l C/C++ 2007 6 18 1 C STL(1) 2 1.1............................................... 2 1.2 stdio................................................ 3 1.3.......................................... 10 2 11 2.1 sizeof......................................

More information

困ったときのQ&A

困ったときのQ&A ii iii iv NEC Corporation 1997 v P A R T 1 vi vii P A R T 2 viii P A R T 3 ix x xi 1P A R T 2 1 3 4 1 5 6 1 7 8 1 9 1 2 3 4 10 1 11 12 1 13 14 1 1 2 15 16 1 2 1 1 2 3 4 5 17 18 1 2 3 1 19 20 1 21 22 1

More information

活用ガイド (ソフトウェア編)

活用ガイド (ソフトウェア編) (Windows 95 ) ii iii iv NEC Corporation 1999 v P A R T 1 vi P A R T 2 vii P A R T 3 P A R T 4 viii P A R T 5 ix x P A R T 1 2 3 1 1 2 4 1 2 3 4 5 1 1 2 3 4 6 5 6 7 7 1 1 2 8 1 9 1 1 2 3 4 5 6 1 2 3 4

More information

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B

A/B (2018/10/19) Ver kurino/2018/soft/soft.html A/B A/B (2018/10/19) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 10 19 A/B 1 2018 10 19 2 1 1 1.1 OHP.................................... 1

More information

1-4 int a; std::cin >> a; std::cout << "a = " << a << std::endl; C++( 1-4 ) stdio.h iostream iostream.h C++ include.h 1-4 scanf() std::cin >>

1-4 int a; std::cin >> a; std::cout << a =  << a << std::endl; C++( 1-4 ) stdio.h iostream iostream.h C++ include.h 1-4 scanf() std::cin >> 1 C++ 1.1 C C++ C++ C C C++ 1.1.1 C printf() scanf() C++ C hello world printf() 1-1 #include printf( "hello world\n" ); C++ 1-2 std::cout

More information

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( )

mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) 2008 3 10 1 mstrcpy char *mstrcpy(const char *src); mstrcpy malloc (main free ) stdio.h fgets char *fgets(char *s, int size, FILE *stream); s size ( ) stream FILE ( man ) 40 ( ) %./a.out String : test

More information

r03.dvi

r03.dvi 19 ( ) 019.4.0 CS 1 (comand line arguments) Unix./a.out aa bbb ccc ( ) C main void... argc argv argc ( ) argv (C char ) ( 1) argc 4 argv NULL. / a. o u t \0 a a \0 b b b \0 c c c \0 1: // argdemo1.c ---

More information

活用ガイド (ハードウェア編)

活用ガイド (ハードウェア編) (Windows 98) 808-877675-122-A ii iii iv NEC Corporation 1999 v vi PART 1 vii viii PART 2 PART 3 ix x xi xii P A R T 1 2 1 3 4 1 5 6 1 7 8 1 9 10 11 1 12 1 1 2 3 13 1 2 3 14 4 5 1 15 1 1 16 1 17 18 1 19

More information

DA100データアクイジションユニット通信インタフェースユーザーズマニュアル

DA100データアクイジションユニット通信インタフェースユーザーズマニュアル Instruction Manual Disk No. RE01 6th Edition: November 1999 (YK) All Rights Reserved, Copyright 1996 Yokogawa Electric Corporation 801234567 9 ABCDEF 1 2 3 4 1 2 3 4 1 2 3 4 1 2

More information

bitvisor-ipc v12b.key

bitvisor-ipc v12b.key PC PC OS PC PC 1 1 2 101 101 enum tre_rpc_direction { TRE_RPC_DIRECTION_REQUEST, TRE_RPC_DIRECTION_RESULT }; struct tre_rpc_request { }; enum tre_rpc_direction direction; ulong id; ulong proc_number;

More information

解きながら学ぶC++入門編

解きながら学ぶC++入門編 !... 38!=... 35 "... 112 " "... 311 " "... 4, 264 #... 371 #define... 126, 371 #endif... 369 #if... 369 #ifndef... 369 #include... 3, 311 #undef... 371 %... 17, 18 %=... 85 &... 222 &... 203 &&... 40 &=...

More information

10

10 2: http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp 10 : 0 1 2 n 2 n 0 1 1 0 1 0 0 1 (2) = 105 1 = 8 1 2 8 = 256 0 9 105 i 106 j 256 2 1 #include int main(void)

More information

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV

10/ / /30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20 6. http, CGI Perl 11/27 7. ( ) Perl 12/ 4 8. Windows Winsock 12/11 9. JAV tutimura@mist.i.u-tokyo.ac.jp kaneko@ipl.t.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/sem3/ 2002 12 11 p.1/33 10/16 1. 10/23 2. 10/30 3. ( ) 11/ 6 4. UNIX + C socket 11/13 5. ( ) C 11/20

More information

アセンブラ入門(CASL II) 第3版

アセンブラ入門(CASL II) 第3版 CASLDV i COMET II COMET II CASL II COMET II 1 1 44 (1969 ) COMETCASL 6 (1994 ) COMETCASL 13 (2001 ) COMETCASL COMET IICASL II COMET IICASL II CASL II 2001 1 3 3 L A TEX 2 CASL II COMET II 6 6 7 Windows(Windows

More information

卒 業 研 究 報 告.PDF

卒 業 研 究 報 告.PDF C 13 2 9 1 1-1. 1-2. 2 2-1. 2-2. 2-3. 2-4. 3 3-1. 3-2. 3-3. 3-4. 3-5. 3-5-1. 3-5-2. 3-6. 3-6-1. 3-6-2. 4 5 6 7-1 - 1 1 1-1. 1-2. ++ Lisp Pascal Java Purl HTML Windows - 2-2 2 2-1. 1972 D.M. (Dennis M Ritchie)

More information

untitled

untitled VSI OpenVMS V8.4-2 for HPE Integrity servers 2016 9 OpenVMS V8.4-2 : : VSI OpenVMS V8.4-2 for HPE Integrity servers VMS Software, Inc., 580 Main Street, Bolton, MA 01740 2016 VMS Software, Inc. VMS Software,

More information

i

i i ii iii iv v vi vii viii ix x xi ( ) 854.3 700.9 10 200 3,126.9 162.3 100.6 18.3 26.5 5.6/s ( ) ( ) 1949 8 12 () () ア イ ウ ) ) () () () () BC () () (

More information

tuat1.dvi

tuat1.dvi ( 1 ) http://ist.ksc.kwansei.ac.jp/ tutimura/ 2012 6 23 ( 1 ) 1 / 58 C ( 1 ) 2 / 58 2008 9 2002 2005 T E X ptetex3, ptexlive pt E X UTF-8 xdvi-jp 3 ( 1 ) 3 / 58 ( 1 ) 4 / 58 C,... ( 1 ) 5 / 58 6/23( )

More information

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology

: CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and Technology I117 8 1 School of Information Science, Japan Advanced Institute of Science and Technology : CR (0x0d) LF (0x0a) line separator CR Mac LF UNIX CR+LF MS-DOS WINDOWS Japan Advanced Institute of Science and

More information

untitled

untitled HP OpenVMS V8.4 BA322-90098 2010 10 OpenVMS V8.4 : : OpenVMS Integrity V8.4 OpenVMS Alpha V8.4 2010 Hewlett-Packard Development Company, L.P. Hewlett-Packard Development Company, L.P. Hewlett-Packard Development

More information

活用ガイド (ソフトウェア編)

活用ガイド (ソフトウェア編) (Windows 98 ) ii iii iv v NEC Corporation 1999 vi P A R T 1 P A R T 2 vii P A R T 3 viii P A R T 4 ix P A R T 5 x P A R T 1 2 3 1 1 2 4 1 2 3 4 5 1 1 2 3 4 5 6 6 7 7 1 1 2 8 1 9 1 1 2 3 4 5 6 1 2 3 10

More information

これわかWord2010_第1部_100710.indd

これわかWord2010_第1部_100710.indd i 1 1 2 3 6 6 7 8 10 10 11 12 12 12 13 2 15 15 16 17 17 18 19 20 20 21 ii CONTENTS 25 26 26 28 28 29 30 30 31 32 35 35 35 36 37 40 42 44 44 45 46 49 50 50 51 iii 52 52 52 53 55 56 56 57 58 58 60 60 iv

More information

パワポカバー入稿用.indd

パワポカバー入稿用.indd i 1 1 2 2 3 3 4 4 4 5 7 8 8 9 9 10 11 13 14 15 16 17 19 ii CONTENTS 2 21 21 22 25 26 32 37 38 39 39 41 41 43 43 43 44 45 46 47 47 49 52 54 56 56 iii 57 59 62 64 64 66 67 68 71 72 72 73 74 74 77 79 81 84

More information

これでわかるAccess2010

これでわかるAccess2010 i 1 1 1 2 2 2 3 4 4 5 6 7 7 9 10 11 12 13 14 15 17 ii CONTENTS 2 19 19 20 23 24 25 25 26 29 29 31 31 33 35 36 36 39 39 41 44 45 46 48 iii 50 50 52 54 55 57 57 59 61 63 64 66 66 67 70 70 73 74 74 77 77

More information

PowerPoint Presentation

PowerPoint Presentation p.130 p.198 p.208 2 double weight[num]; double min, max; min = max = weight[0]; for( i= 1; i i < NUM; i++ ) ) if if ( weight[i] > max ) max = weight[i]: if if ( weight[i] < min ) min = weight[i]: weight

More information

thesis.dvi

thesis.dvi H8 e041220 2009 2 Copyright c 2009 by Kentarou Nagashima c 2009 Kentarou Nagashima All rights reserved , H8.,,,..,.,., AKI-H8/3052LAN. OS. OS H8 Write Turbo. H8 C, Cygwin.,., windows. UDP., (TA7279P).,.

More information

I ASCII ( ) NUL 16 DLE SP P p 1 SOH 17 DC1! 1 A Q a q STX 2 18 DC2 " 2 B R b

I ASCII ( ) NUL 16 DLE SP P p 1 SOH 17 DC1! 1 A Q a q STX 2 18 DC2  2 B R b I 4 003 4 30 1 ASCII ( ) 0 17 0 NUL 16 DLE SP 0 @ P 3 48 64 80 96 11 p 1 SOH 17 DC1! 1 A Q a 33 49 65 81 97 113 q STX 18 DC " B R b 34 50 66 8 98 114 r 3 ETX 19 DC3 # 3 C S c 35 51 67 83 99 115 s 4 EOT

More information

I 2 tutimura/ I 2 p.1/??

I 2   tutimura/ I 2 p.1/?? I 2 tutimura@mist.i.u-tokyo.ac.jp http://www.misojiro.t.u-tokyo.ac.jp/ tutimura/ 2002 4 25 I 2 p.1/?? / / Makefile I 2 p.2/?? Makefile make GNU make I 2 p.3/?? Makefile L A T E X I 2 p.4/?? core (1) gcc,

More information

パソコン機能ガイド

パソコン機能ガイド PART12 ii iii iv v 1 2 3 4 5 vi vii viii ix P A R T 1 x P A R T 2 xi P A R T 3 xii xiii P A R T 1 2 3 1 4 5 1 6 1 1 2 7 1 2 8 1 9 10 1 11 12 1 13 1 2 3 4 14 1 15 1 2 3 16 4 1 1 2 3 17 18 1 19 20 1 1

More information

パソコン機能ガイド

パソコン機能ガイド PART2 iii ii iv v 1 2 3 4 5 vi vii viii ix P A R T 1 x P A R T 2 xi P A R T 3 xii xiii P A R T 1 2 1 3 4 1 5 6 1 2 1 1 2 7 8 9 1 10 1 11 12 1 13 1 2 3 14 4 1 1 2 3 15 16 1 17 1 18 1 1 2 19 20 1 21 1 22

More information

新版明解C言語 実践編

新版明解C言語 実践編 2 List - "max.h" a, b max List - max "max.h" #define max(a, b) ((a) > (b)? (a) : (b)) max List -2 List -2 max #include "max.h" int x, y; printf("x"); printf("y"); scanf("%d", &x); scanf("%d", &y); printf("max(x,

More information

II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C main main 1 NULL NULL for 2 (a) Yacc 2 (b) 2 3 y

II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C main main 1 NULL NULL for 2 (a) Yacc 2 (b) 2 3 y II 3 yacc (2) 2005 : Yacc 0 ~nakai/ipp2 1 C 1 6 9 1 main main 1 NULL NULL 1 15 23 25 48 26 30 32 36 38 43 45 47 50 52 for 2 (a) 2 2 1 Yacc 2 (b) 2 3 yytext tmp2 ("") tmp2->next->word tmp2 yytext tmp2->next->word

More information

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D

II ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 D II 8 2003 11 12 1 6 ( ) prog8-1.c s1542h017%./prog8-1 1 => 35 Hiroshi 2 => 23 Koji 3 => 67 Satoshi 4 => 87 Junko 5 => 64 Ichiro 6 => 89 Mari 7 => 73 Daisuke 8 =>. 73 Daisuke 35 Hiroshi 64 Ichiro 87 Junko

More information

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v

/* do-while */ #include <stdio.h> #include <math.h> int main(void) double val1, val2, arith_mean, geo_mean; printf( \n ); do printf( ); scanf( %lf, &v 1 http://www7.bpe.es.osaka-u.ac.jp/~kota/classes/jse.html kota@fbs.osaka-u.ac.jp /* do-while */ #include #include int main(void) double val1, val2, arith_mean, geo_mean; printf( \n );

More information

Prog1_10th

Prog1_10th 2012 年 6 月 20 日 ( 木 ) 実施ポインタ変数と文字列前回は, ポインタ演算が用いられる典型的な例として, ポインタ変数が 1 次元配列を指す場合を挙げたが, 特に,char 型の配列に格納された文字列に対し, ポインタ変数に配列の 0 番の要素の先頭アドレスを代入して文字列を指すことで, 配列そのものを操作するよりも便利な利用法が存在する なお, 文字列リテラルは, その文字列が格納されている領域の先頭アドレスを表すので,

More information

平成18年版 男女共同参画白書

平成18年版 男女共同参画白書 i ii iii iv v vi vii viii ix 3 4 5 6 7 8 9 Column 10 11 12 13 14 15 Column 16 17 18 19 20 21 22 23 24 25 26 Column 27 28 29 30 Column 31 32 33 34 35 36 Column 37 Column 38 39 40 Column 41 42 43 44 45

More information

問 2 ( 型変換 ) 次のプログラムを実行しても正しい結果が得られない 何が間違いかを指摘し 正しく修正せよ ただし int サイズが 2 バイト long サイズが 4 バイトの処理系での演算を仮定する #include <stdio.h> int main( void ) { int a =

問 2 ( 型変換 ) 次のプログラムを実行しても正しい結果が得られない 何が間違いかを指摘し 正しく修正せよ ただし int サイズが 2 バイト long サイズが 4 バイトの処理系での演算を仮定する #include <stdio.h> int main( void ) { int a = 問 1 配列の宣言整数型配列 data1 にデータが初期設定されている この配列 data1 のデータを下図のように 整数型配列 data2 に代入しなさい また data2 の内容を printf( "data2[0] = %d\n", data2[0] ); printf( "data2[5] = %d\n", data2[5] ); を用いて出力しなさい 実行結果 data2[0] = 76

More information

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() 2 double *a[ ]; double 1 malloc() dou

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() 2 double *a[ ]; double 1 malloc() dou 1 1.1 C 2 1 double a[ ][ ]; 1 3x3 0 1 3x3 ( ) 0.240 0.143 0.339 0.191 0.341 0.477 0.412 0.003 0.921 1.2 malloc() 2 double *a[ ]; double 1 malloc() double 1 malloc() free() 3 #include #include

More information

A/B (2018/06/08) Ver kurino/2018/soft/soft.html A/B

A/B (2018/06/08) Ver kurino/2018/soft/soft.html A/B A/B (2018/06/08) Ver. 1.0 kurino@math.cst.nihon-u.ac.jp http://edu-gw2.math.cst.nihon-u.ac.jp/ kurino/2018/soft/soft.html 2018 6 8 A/B 1 2018 6 8 2 1 1 1.1 OHP.................................... 1 1.2

More information

void hash1_init(int *array) int i; for (i = 0; i < HASHSIZE; i++) array[i] = EMPTY; /* i EMPTY */ void hash1_insert(int *array, int n) if (n < 0 n >=

void hash1_init(int *array) int i; for (i = 0; i < HASHSIZE; i++) array[i] = EMPTY; /* i EMPTY */ void hash1_insert(int *array, int n) if (n < 0 n >= II 14 2018 7 26 : : proen@mm.ics.saitama-u.ac.jp 14,, 8 2 12:00 1 O(1) n O(n) O(log n) O(1) 32 : 1G int 4 250 M 2.5 int 21 2 0 100 0 100 #include #define HASHSIZE 100 /* */ #define NOTFOUND 0

More information

『戦時経済体制の構想と展開』

『戦時経済体制の構想と展開』 1 15 15 17 29 36 45 47 48 53 53 54 58 60 70 88 95 95 98 102 107 116 v 121 121 123 124 129 132 142 160 163 163 168 174 183 193 198 205 205 208 212 218 232 237 237 240 247 251 vi 256 268 273 289 293 311

More information

u302.book

u302.book Text Search Filter Library Version 3 3000-6-302-10 P-1MD3-3831* Text Search Filter Library Version 3 03-10 OS AIX 5L V5.2 AIX 5L V5.3 P-24D3-3834 Text Search Filter Library Version 3 03-10 OS Windows 2000

More information

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() malloc 2 #include <stdio.h> #include

1 1.1 C 2 1 double a[ ][ ]; 1 3x x3 ( ) malloc() malloc 2 #include <stdio.h> #include 1 1.1 C 2 1 double a[ ][ ]; 1 3x3 0 1 3x3 ( ) 0.240 0.143 0.339 0.191 0.341 0.477 0.412 0.003 0.921 1.2 malloc() malloc 2 #include #include #include enum LENGTH = 10 ; int

More information

2

2 1 2 3 4 5 6 7 8 9 10 I II III 11 IV 12 V 13 VI VII 14 VIII. 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 VII 51 52 53 54 55 56 57 58 59

More information

double 2 std::cin, std::cout 1.2 C fopen() fclose() C++ std::fstream 1-3 #include <fstream> std::fstream fout; int a = 123; fout.open( "data.t

double 2 std::cin, std::cout 1.2 C fopen() fclose() C++ std::fstream 1-3 #include <fstream> std::fstream fout; int a = 123; fout.open( data.t C++ 1 C C++ C++ C C C++ 1.1 C printf() scanf() C++ C 1-1 #include int a; scanf( "%d", &a ); printf( "a = %d\n", a ); C++ 1-2 int a; std::cin >> a; std::cout

More information

untitled

untitled i ii iii iv v 43 43 vi 43 vii T+1 T+2 1 viii 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 a) ( ) b) ( ) 51

More information