AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

SYSLOCAL ( 2) SYSLOCAL ( 2) SYSL_ALLOCDRV Allocatesjdeallocates space for a loadable driver and returns driver status. The second argument is one of the following: DRV ALLOC allocates space DRVUNALLOC releases allocated space � DRVSTAT returns driver status i The third argument is a struct drvalloc * You must be superuser to execute DRVAL- LOC and DRVUNALLOC. SYSL_BINDDRV Loads/unloads a loadable driver. The second argument is either DRVBIND for loading or DRVUNBIND for unloading. The third argument is a struct drvbind * . You must be superuser to execute. The following two calls support installable fonts. SYSL_LFONT Installs a font. SYSL_UFONT Deinstalls a font. In both cases, two arguments are required: the font file pathname (dummy pointer for SYSL_UFONT) and the font slot number (0 to 15). Again, you must be superuser to execute. See window(1) for additional font information. Supplying a font slot number between 0 and 7 causes the font to be inherited at that slot number by all subsequent windows. Preloading fonts into slots 8-15 allows these fonts to be installed without going to the file system so they can be loaded rapidly. This is useful for applications which refer to more than 8 fonts because the font activity is more efficient. If you attempt to load a font into a slot which is currently occupied, you will not get an error condition, but rather, the old font will be swapped out and the new one loaded in. You can also deinstall a font from slots 0 through 7, if the font to be deinstalled is not being accessed. If it is being accessed ERRNO is set to EBUSY. - 2 - ·� I

TIME ( 2) TIME(2) NAME time - get time SYNOPSIS long time ((long *) 0) long time (tloc) long •tloc; DESCRIPTION Time returns the value of time in seconds since 00:00:00 GMT, January 1, 1970. If tloc (taken as an integer) is non-zero, the return value is also stored in the location to which tloc points. Time will fail if tloc points to an illegal address. IEF AUL Tl RETURN VALUE Upon successful completion, time returns the value of time. Otherwise, a value of -1 is returned and errno is set to indicate the error. SEE ALSO stime(2). - 1 -

SYSLOCAL ( 2) SYSLOCAL ( 2)<br />

SYSL_ALLOCDRV Allocatesjdeallocates space for a loadable<br />

driver and returns driver status. The second<br />

argument is one of the following:<br />

DRV ALLOC allocates space<br />

DRVUNALLOC releases allocated space �<br />

DRVSTAT returns driver status i<br />

The third argument is a struct drvalloc *<br />

You must be superuser to execute DRVAL-<br />

LOC and DRVUNALLOC.<br />

SYSL_BINDDRV Loads/unloads a loadable driver. The second<br />

argument is either DRVBIND for loading or<br />

DRVUNBIND for unloading. The third argument<br />

is a struct drvbind * . You must be<br />

superuser to execute.<br />

The following two calls support installable fonts.<br />

SYSL_LFONT Installs a font.<br />

SYSL_UFONT Deinstalls a font.<br />

In both cases, two arguments are required: the font file pathname<br />

(dummy pointer for SYSL_UFONT) and the font slot number (0<br />

to 15). Again, you must be superuser to execute. See window(1)<br />

for additional font information.<br />

Supplying a font slot number between 0 and 7 causes the font to<br />

be inherited at that slot number by all subsequent windows. Preloading<br />

fonts into slots 8-15 allows these fonts to be installed<br />

without going to the file system so they can be loaded rapidly.<br />

This is useful for applications which refer to more than 8 fonts<br />

because the font activity is more efficient.<br />

If you attempt to load a font into a slot which is currently occupied,<br />

you will not get an error condition, but rather, the old font<br />

will be swapped out and the new one loaded in. You can also<br />

deinstall a font from slots 0 through 7, if the font to be deinstalled<br />

is not being accessed. If it is being accessed ERRNO is set to<br />

EBUSY.<br />

- 2 -<br />

·�<br />

I

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!