10-18-2006
thanks again all....i'm maneuvering my way a bit through the system...i haven't even scratched the surface and it is terrific....i'm sure i'll be posting again very soon
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi everybody,
so as you know i'm a real newbie in the unix world and i wanna know if i can install unix (not linux or other derived) on a toshiba T1950 portable computer ? It is a 486 cpu with 8mb ram, monochrom screen, and a 200mb hd, no cdrom... The latest version of unix is not necessary, a... (1 Reply)
Discussion started by: Uninewb
1 Replies
2. UNIX for Dummies Questions & Answers
Hi mates....
i just got started...truely so...cuz i just borrowed a Unix for dummies from the library...wondering if i could go download a system to play with...but i don't no where....any suggestions? thanx a lot :) (2 Replies)
Discussion started by: PhilO_<
2 Replies
3. UNIX for Dummies Questions & Answers
Helo Friends,
I am new to this forum. I am very much intrested to learn UNIX Administration so please can any one teach me or tell me ur suggestions installing , maintaining,administrating,commands,and Shell programming.
please leave ur suggestions and guidelines.
Thanx... (1 Reply)
Discussion started by: mybestway
1 Replies
4. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
5. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
6. Shell Programming and Scripting
Hi,
I am new to programming and also to perl..But i know 'perl' can come to my rescue, But I am stuck at many places and need help..any small help is much appreciated... below is the description of what i intend to acheive with my script.
I have a files named in this format... (13 Replies)
Discussion started by: xytiz
13 Replies
LEARN ABOUT CENTOS
sdl_locksurface
SDL_LockSurface(3) SDL API Reference SDL_LockSurface(3)
NAME
SDL_LockSurface - Lock a surface for directly access.
SYNOPSIS
#include "SDL.h"
int SDL_LockSurface(SDL_Surface *surface);
DESCRIPTION
SDL_LockSurface sets up a surface for directly accessing the pixels. Between calls to SDL_LockSurface and SDL_UnlockSurface, you can write
to and read from surface->pixels, using the pixel format stored in surface->format. Once you are done accessing the surface, you should use
SDL_UnlockSurface to release it.
Not all surfaces require locking. If SDL_MUSTLOCK(surface) evaluates to 0, then you can read and write to the surface at any time, and the
pixel format of the surface will not change.
No operating system or library calls should be made between lock/unlock pairs, as critical system locks may be held during this time.
It should be noted, that since SDL 1.1.8 surface locks are recursive. This means that you can lock a surface multiple times, but each lock
must have a match unlock.
.
.
SDL_LockSurface( surface );
.
/* Surface is locked */
/* Direct pixel access on surface here */
.
SDL_LockSurface( surface );
.
/* More direct pixel access on surface */
.
SDL_UnlockSurface( surface );
/* Surface is still locked */
/* Note: Is versions < 1.1.8, the surface would have been */
/* no longer locked at this stage */
.
SDL_UnlockSurface( surface );
/* Surface is now unlocked */
.
.
RETURN VALUE
SDL_LockSurface returns 0, or -1 if the surface couldn't be locked.
SEE ALSO
SDL_UnlockSurface
SDL
Tue 11 Sep 2001, 23:01 SDL_LockSurface(3)