| Title: | AMIGA NOTES |
| Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
| Moderator: | HYDRA::MOORE |
| Created: | Sat Apr 26 1986 |
| Last Modified: | Wed Feb 05 1992 |
| Last Successful Update: | Fri Jun 06 1997 |
| Number of topics: | 5378 |
| Total number of notes: | 38326 |
Fellow Amigan's,
I need someone who may know what the following functions do,
and how they are used. I suspect they are from the unix domain
but I am not sure. This is for our favorite company "DEC". Some
code was sent to us to help us do our job better and these are
undefined at link time!
ASM
UTIME
UNLINK
Please come to our rescue!
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 2395.1 | 1-Yup, 2-partialy, 3-a guess | LEDDEV::WALLACE | Fri Mar 24 1989 15:07 | 16 | |
unlink(path) - "The unlink system call removes the entry for the file
'path' from its directory. Use delete(path) which "causes a file
to be deleted". The return values of the two functions are equivlent
(that is 0 for success, other than 0 otherwise).
utime(path,times) - "The 'path' points to a path name naming a file.
The utime system call sets the access and modification times of the
named file." I don't know of a VMS equivelent.
asm(...) - Probably allows inline assembly code but I couldn't find
it in the unix docs. There is no equivelent to this in VMS asside
from writting a seperate assembly routine and linking it with the
C code. This does not give you 'inline' assembly code but it does
give you access via a function call to assembly code.
Ray
| |||||