Hi, I am a newbie at Unix scritping, and I have a question.
Looking at the search functionality on Unix. Here I have a structure
root---------dir1 ------- file1, file2, file3
|_____dir2 ______file1@, file4
|_____dir3_______file1@, file5
Under root directory, I... (4 Replies)
Hi all,
I'm new to awk and I'm experiencing syntax error that I don't know how to resolve. Hopefully some experts in this forum can help me out.
I created an awk file that look like this:
$ cat myawk.awk
BEGIN {
VAR1=PATTERN1
VAR2=PATTERN2
}
/VAR1/ { flag=1 }
/VAR2/ { flag=0 }
{... (7 Replies)
I am trying to match 4 colums (first_name,last_name,dob,ssn) between 2 files and when there is an exact match I need to write out these matches to a new file with a combination of fields from file1 and file2. I've managed to come up with a way to match these 2 files based on the columns (see below)... (7 Replies)
Hello ,
When using vim, can ctag and cscope support recording search results and displaying the history results ? Once I jump to one tag, I can use :tnext to jump to next tag, but how can I display the preview search result? (0 Replies)
Dear All,
I have a file with this name= xx-nnnn.csv , I has texts in this format,
231048975938093056;234317862284705793;609384034;14955353;1344700706000;1;
231048975938093056;234317958632054785;715450794;52422878;1344700729000;1;... (10 Replies)
Hey,
I added an animation switch on the search results page; so by default the thread previews are off, but if you want to look at them, just click on the green button and the thread previews will turn on (and back off).
See image and attached animation:
... (1 Reply)
Discussion started by: Neo
1 Replies
LEARN ABOUT DEBIAN
sdl_wasinit
SDL_WasInit(3) SDL API Reference SDL_WasInit(3)NAME
SDL_WasInit - Check which subsystems are initialized
SYNOPSIS
#include "SDL.h"
Uint32 SDL_WasInit(Uint32 flags);
DESCRIPTION
SDL_WasInit allows you to see which SDL subsytems have been initialized. flags is a bitwise OR'd combination of the subsystems you wish to
check (see SDL_Init for a list of subsystem flags).
RETURN VALUE
SDL_WasInit returns a bitwised OR'd combination of the initialized subsystems.
EXAMPLES
/* Here are several ways you can use SDL_WasInit() */
/* Get init data on all the subsystems */
Uint32 subsystem_init;
subsystem_init=SDL_WasInit(SDL_INIT_EVERYTHING);
if(subsystem_init&SDL_INIT_VIDEO)
printf("Video is initialized.
");
else
printf("Video is not initialized.
");
/* Just check for one specfic subsystem */
if(SDL_WasInit(SDL_INIT_VIDEO)!=0)
printf("Video is initialized.
");
else
printf("Video is not initialized.
");
/* Check for two subsystems */
Uint32 subsystem_mask=SDL_INIT_VIDEO|SDL_INIT_AUDIO;
if(SDL_WasInit(subsystem_mask)==subsystem_mask)
printf("Video and Audio initialized.
");
else
printf("Video and Audio not initialized.
");
SEE ALSO
SDL_Init, SDL_Subsystem
SDL Tue 11 Sep 2001, 23:00 SDL_WasInit(3)