參數(shù)資料
型號: HIF_SPEC
英文描述: EZ-030 Demonstration Board Theory of Operation Host Interface (HIF) Specification
中文描述: 易- 030演示板的經(jīng)營理論主機(jī)接口(誘導(dǎo)因子)規(guī)格
文件頁數(shù): 49/118頁
文件大?。?/td> 356K
代理商: HIF_SPEC
Host Interface (HIF) Specification
3–25
Service 22 – remove
Remove a File
Description
This service deletes a file from the file system.
lr2
contains a pointer to the
pathname of the file. The path must point to an existing file, and the referenced
file should not be currently open. The behavior of the remove service is
undefined if the file is open. Any attempt to remove a currently open file will
have an implementation-dependent result.
Register Usage
Type
Regs
Contents
Description
Calling:
gr121
22 (0x16)
Service number
lr2
pathname
A pointer to string that contains the
pathname of the file
Success: = 0
Failure: < 0
Logical TRUE, service successful
Error number, service not successful
(implementation dependent)
Returns:
gr96
retval
gr121
0x80000000
errcode
Example Call
path:
.ascii
“/usr/jack/files/myfile\0”
const
lr2,path
;set address of
consth
lr2,path
;file pathname
const
gr121,22
;service = 22
asneq
69,gr1,gr1
;call the OS
jmpf
gr121,rem_err
;jump if error
nop
In the example call, a file with a UNIX-style pathname stored in the string
named path is being removed. The address (
pointer
) to the string is put into
lr2
and the kernel service 22 is called to remove the file. If the file does not exist,
or if it has not previously been closed, an error code will be returned in
gr121
;
otherwise, the value in
gr121
will be TRUE.
相關(guān)PDF資料
PDF描述
HIGHCURRENTSWITCHINGAPPLICATION (286.88 k)
DC-DCCONVERTERANDMOTORDRIVEAPPLICATIONS (286.88 k)
HIGHVOLTAGECAPACITORS(DATASHEETS) Ceramic Capacitors. 1000 V-5000 V
HIGHVOLTAGECERAMICCAPACITORS(GENERALINFO) Ceramic Capacitors. 1000 V-5000 V
HIH-3602-A Signal Conditioner
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HIG-A 制造商:Cooper Bussmann 功能描述:
HIGH DENSITY BALUN ASSY TOOL 制造商:ITT Interconnect Solutions 功能描述:HIGH DENSITY BALUN ASSY TOOL / T4837 / RF
HIGHCURRENTVOLTAGEKIT 制造商:Lapp 功能描述:4 Way top entry 制造商:Lapp Group 功能描述:4 Way top entry
HIGHLAND 制造商:3M Electronic Products Division 功能描述:Highland™ Vinyl Electrical Tape - 3/4" x 66'
HIGHLAND TAPE 制造商:3M Electronic Products Division 功能描述:TAPE INSULATION PVC BLACK 19MMX20.1M 制造商:3M Electronic Products Division 功能描述:TAPE, INSULATION, PVC, BLACK, 19MMX20.1M 制造商:3M Electronic Products Division 功能描述:TAPE, INSULATION, PVC, BLACK, 19MMX20.1M; Tape Type:Electrical Insulation; Tape Backing Material:PVC (Polyvinyl Chloride); Tape Width - Metric:19mm; Tape Width - Imperial:0.748"; Tape Length - Metric:20.1m; Tape Color:Black ;RoHS Compliant: Yes