Sponsored Content
Top Forums Programming C coding for Screenshot capture Post 302344503 by rakesh_01 on Monday 17th of August 2009 12:49:59 AM
Old 08-17-2009
The OS is Windows XP.
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

can I use this coding

I apologise because I had pasted this question in the newbies forum first (because i am a bit of a newbie) but thought it might be better suited in here if i have to sepearate parameters can I use this syntax especially the or part (||) and is this correct if (6 Replies)
Discussion started by: w33man
6 Replies

2. Programming

where i get coding for networking in C?

hai, this is nagalakshmi. i have a question in Unix C. i need the coding for the file transfer and simulation of protocols in C where i get the coding? (2 Replies)
Discussion started by: xpertlakshmi
2 Replies

3. What is on Your Mind?

Movie Screenshot Contest - Bits to be won!

I propose a little game, I post a bunch of images from random movies out there and people try to identify the name of the character and the movie. Each correct answer earns a point, at the end of the contest I'll give some Bits to those with the most points. The rules: I'll post only a few... (35 Replies)
Discussion started by: Smiling Dragon
35 Replies

4. Programming

Help for coding this programme

for a floating-point array x whose size is n, find the geometric mean.. GM =n x1.x2.x3...xn (2 Replies)
Discussion started by: allyjaah
2 Replies

5. Shell Programming and Scripting

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (1 Reply)
Discussion started by: crazydude80
1 Replies

6. Windows & DOS: Issues & Discussions

Need help with coding

HI, Can some one guide me how to make changes to the script below so that it can load the history of a program to IT server ? Format of data: YYYYMMDD065959.dsk.log YYYYMMDD235959.dsk.log currently both are loaded together. Need to separate them as above format. Thanks in advance. ... (2 Replies)
Discussion started by: crazydude80
2 Replies

7. Shell Programming and Scripting

Shell or Perl Loop Screenshot URLs

I am trying to capture screenshots from a huge list of URLs. I am able to manually capture images of individual pages; that is, I simply run the following command to get a screenshot of Foo.com $ python /path/to/screencapture.sh http://www.foo.com I want to modify the script so that instead of... (2 Replies)
Discussion started by: chipperuga
2 Replies

8. Shell Programming and Scripting

Shell Script to Capture a Screenshot

Hi All, Suppose I want to take a screenshot of a website say Google and save that image. How should I do it? I tried wget with this but of no help. It just makes a particular file in jpeg format but on opening the same it says corrupted. Although I can edit the jpeg as an HTML file. wget... (15 Replies)
Discussion started by: ankur328
15 Replies
DEFINE_SYSLOG_VARIABLES(3)						 1						DEFINE_SYSLOG_VARIABLES(3)

define_syslog_variables - Initializes all syslog related variables

SYNOPSIS
void define_syslog_variables (void ) DESCRIPTION
Initializes all variables used in the syslog functions. RETURN VALUES
No value is returned. Syslog variables +--------------+-------------------------------+---+---+ | Variable | | | | | | | | | | | Constant equal | | | | | | | | | | Meaning | | | | | | | | | | Notes | | | | | | | | +--------------+-------------------------------+---+---+ | $LOG_EMERG | | | | | | | | | | | | | | | | LOG_EMERG | | | | | | | | | | System is unusable | | | | | | | | | | | | | | | T{ $LOG_ALERT | | | | | | | | | | | | | | | LOG_ALERT | | | | | | | | | | Immediate action required | | | | | | | | | | | | | | | T{ $LOG_CRIT | | | | | | | | | | | | | | | LOG_CRIT | | | | | | | | | | Critical conditions | | | | | | | | | | | | | | | T{ $LOG_ERR | | | | | | | | | | | | | | | LOG_ERR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_WARNING | | | | | | | | | | | | | | | LOG_WARNING | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOTICE | | | | | | | | | | | | | | | LOG_NOTICE | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_INFO | | | | | | | | | | | | | | | LOG_INFO | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_DEBUG | | | | | | | | | | | | | | | LOG_DEBUG | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_KERN | | | | | | | | | | | | | | | LOG_KERN | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_USER | | | | | | | | | | | | | | | LOG_USER | | | | | | | | | | Genetic user level | | | | | | | | | | | | | | | T{ $LOG_MAIL | | | | | | | | | | | | | | | LOG_MAIL | | | | | | | | | | Log to email | | | | | | | | | | | | | | | T{ $LOG_DAEMON | | | | | | | | | | | | | | | LOG_DAEMON | | | | | | | | | | Other system daemons | | | | | | | | | | | | | | | T{ $LOG_AUTH | | | | | | | | | | | | | | | LOG_AUTH | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_SYSLOG | | | | | | | | | | | | | | | LOG_SYSLOG | | | | | | | | | | | | | | | |T{ Not available on Netware | | | | | | | | | $LOG_LPR | | | | | | | | | | | | | | | | LOG_LPR | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NEWS | | | | | | | | | | | | | | | LOG_NEWS | | | | | | | | | | Usenet new | | | | | | | | | | Not available on HP-UX | | | | | | | | | $LOG_CRON | | | | | | | | | | | | | | | | LOG_CRON | | | | | | | | | | | | | | | |T{ Not available on all | | | | | platforms | | | | | | | | |$LOG_AUTHPRIV | | | | | | | | | | | | | | | | LOG_AUTHPRIV | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | | $LOG_LOCAL0 | | | | | | | | | | | | | | | | LOG_LOCAL0 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL1 | | | | | | | | | | | | | | | | LOG_LOCAL1 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL2 | | | | | | | | | | | | | | | | LOG_LOCAL2 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL3 | | | | | | | | | | | | | | | | LOG_LOCAL3 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL4 | | | | | | | | | | | | | | | | LOG_LOCAL4 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL5 | | | | | | | | | | | | | | | | LOG_LOCAL5 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL6 | | | | | | | | | | | | | | | | LOG_LOCAL6 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_LOCAL7 | | | | | | | | | | | | | | | | LOG_LOCAL7 | | | | | | | | | | | | | | | |T{ Not available on Windows | | | | | and Netware | | | | | | | | | $LOG_PID | | | | | | | | | | | | | | | | LOG_PID | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_CONS | | | | | | | | | | | | | | | LOG_CONS | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_ODELAY | | | | | | | | | | | | | | | LOG_ODELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NDELAY | | | | | | | | | | | | | | | LOG_NDELAY | | | | | | | | | | | | | | | |T{ | | | | | | | | | | T{ $LOG_NOWAIT | | | | | | | | | | | | | | | LOG_NOWAIT | | | | | | | | | | | | | | | |T{ Not available on BeOS | | | | | | | | | $LOG_PERROR | | | | | | | | | | | | | | | | LOG_PERROR | | | | | | | | | | | | | | | |T{ Not available on AIX | | | | | | | | +--------------+-------------------------------+---+---+ Warning This function has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. EXAMPLES
Example #1 define_syslog_variables(3) example <?php // Check if syslog variables already is defined if(!get_cfg_var('define_syslog_variables')) { define_syslog_variables(); } // Open the log openlog('', $LOG_ODELAY, $LOG_MAIL | $LOG_USER); // Continue script ... ?> CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.4.0 | | | | | | | This function was removed from PHP. | | | | | 5.3.0 | | | | | | | This function now throws an E_DEPRECATED notice. | | | | +--------+---------------------------------------------------+ SEE ALSO
openlog(3), syslog(3), closelog(3). PHP Documentation Group DEFINE_SYSLOG_VARIABLES(3)
All times are GMT -4. The time now is 05:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy