getname() for a template device

Post Reply

Topic author
greg@tssolutions.com.au
Contributor
Posts: 14
Joined: Wed May 29, 2024 10:29 am
Reputation: 0
Location: Australia
Status: Offline
Contact:

getname() for a template device

Post by greg@tssolutions.com.au » Mon Aug 05, 2024 12:24 am

example

Code: Select all

 fd=open("MPA0:",O_RDWR,0);
getname(fd, devname);
devname wil have "MPA0:" not the created device name.

Would be nice if it returned the correct "MPAxxx:" name.
gt
VMS Ambassador
Downunder


pustovetov
VSI Expert
Active Contributor
Posts: 36
Joined: Thu Sep 14, 2023 1:26 am
Reputation: 0
Status: Offline

Re: getname() for a template device

Post by pustovetov » Mon Aug 05, 2024 2:26 am

greg@tssolutions.com.au wrote:
Mon Aug 05, 2024 12:24 am
example

Code: Select all

 fd=open("MPA0:",O_RDWR,0);
getname(fd, devname);
devname wil have "MPA0:" not the created device name.

Would be nice if it returned the correct "MPAxxx:" name.
I'll try to fix it.

Post Reply