how can I lock my keyboard while I'm away from the computer without using lock command. What other commands gives me the option to lock keyboard device?
thanks (7 Replies)
Hi,
We have a lock file being created called lck8c0001 created in Unixware 2.1.2. This is locking a printer.
According to some websites, 8c0001 relates to the device name.
How does one link 8c0001 to those devices listed in the /dev folder?
I have done a ps -lp for all printers and have... (4 Replies)
Hi,
My requirement is to service a process and below is the script which i wrote for that and works fine, I have kept it in a crontab and running this everyminute, how do I lock this if its already running and i dont want to open if its running and not completed yet.
The crontab need to run... (4 Replies)
Hi,
I am working with Sun-Solaris 9 and in our application I need to connect the UPS with Serial port,after that I need to monitor it..but before stating communication,It should lock that port,To check it,first i am trying to make sure the lock directory exists and I am able to find it(/var/lock)... (0 Replies)
Hello all,
If anyone has time, I have a few questions:
How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too.
1. How to lock the account after a few (like 3) invalid password attempts?
2. How do you lock a screen after 30... (1 Reply)
Hi all,
I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...).
I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message.
Is there any way to simply get a return code... (3 Replies)
Hi,
I want to write a code where in the file once taken genrates a lock number and other developer/user cannot take the file to make any changes in it. He gets the file only as read only. (2 Replies)
Hi All!
I am not able to lock my Ubuntu 12.04 LXDE.
Can anybody tell me the shortcut to lock the system.
I have tried all conventional keyboard shortcuts as well as buttons. (2 Replies)
Requirement:First i need to unlock the directory which i had a script for it.If i select app1 it should unlock the directory and after chnages in the script once need to lock the directory with lock command
The below highlighed variables in lock and unlock has to be changed according... (2 Replies)
Discussion started by: bhas85
2 Replies
LEARN ABOUT DEBIAN
load_datafile_object
load_datafile_object(3alleg4) Allegro manual load_datafile_object(3alleg4)NAME
load_datafile_object - Loads a specific object from a datafile. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
DATAFILE *load_datafile_object(const char *filename, const char *objectname);
DESCRIPTION
Loads a specific object from a datafile. This won't work if you strip the object names from the file, and it will be very slow if you save
the file with global compression. Example:
/* Load only the music from the datafile. */
music_object = load_datafile_object("datafile.dat",
"MUSIC");
/* Play it and wait a moment for it. */
play_midi(music_object->dat);
...
/* Destroy unneeded music. */
unload_datafile_object(music_object);
RETURN VALUE
Returns a pointer to a single DATAFILE element whose `dat' member points to the object, or NULL if there was an error or there was no
object with the requested name. Remember to free this DATAFILE later to avoid memory leaks, but use the correct unloading function!
SEE ALSO unload_datafile_object(3alleg4), load_datafile(3alleg4), set_color_conversion(3alleg4), find_datafile_object(3alleg4), regis-
ter_datafile_object(3alleg4)Allegro version 4.4.2 load_datafile_object(3alleg4)