Sponsored Content
Full Discussion: Multi-platform includes?
Top Forums Programming Multi-platform includes? Post 302346356 by james2432 on Friday 21st of August 2009 03:46:17 PM
Old 08-21-2009
Quote:
Originally Posted by Loic Domaigne
Do you mean <cstdio> ?

Yes, there is. Please check out the following link: HTML Tidy: platform.h Source File

HTH,
Loïc
--


"There are two ways to write error-free programs; only the third one works." -- Alan J. Perlis
Yeah I meant <cstdio> sorry, I made a typo. Thanks for this it looks pretty interesting
 

3 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Multi-platform Centralized Patch Management

We have a mix of AIX, HP-UX, Linux (RHEL and SLES), and Solaris in our environment. Currently we have seperate patch management systems for each platform (NIM, SD, Spacewalk, etc), but have started looking for a centralized patch management solution that would work for most, if not all, of our... (0 Replies)
Discussion started by: kknigga
0 Replies

2. Shell Programming and Scripting

Multi platform script perl or awk

Hi gurus, I am trying to match records in following format: (-,username,domain1.co.uk)\ (-,username,domain2.co.uk) either awk or perl must be used. I am using cygwin. I wrote following code which works and matches both above entries: awk 'BEGIN {musr="(-,username,+.co.uk)"} {if... (8 Replies)
Discussion started by: wakatana
8 Replies

3. Solaris

Application not working in multi core platform

Hi, I have a multiprocess C application (used POSIX library for threads and fork() & exec for creating process) of millions of LOC. 1. Which works fine in single processor machine. 2. Which works fine in multicore machine only if one core is enabled. Problem is, which results an undefined... (2 Replies)
Discussion started by: sreejesh
2 Replies
TIDY_ACCESS_COUNT(3)							 1						      TIDY_ACCESS_COUNT(3)

tidy_access_count - Returns the Number of Tidy accessibility warnings encountered for specified document

SYNOPSIS
int tidy_access_count (tidy $object) DESCRIPTION
tidy_access_count(3) returns the number of accessibility warnings found for the specified document. PARAMETERS
o $object - The Tidy object. RETURN VALUES
Returns the number of warnings. EXAMPLES
Example #1 tidy_access_count(3) example <?php $html ='<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 3.2//EN"> <html><head><title>Title</title></head> <body> <p><img src="img.png"></p> </body></html>'; // select the accessibility check level: 1, 2 or 3 $config = array('accessibility-check' => 3); $tidy = new tidy(); $tidy->parseString($html, $config); $tidy->cleanRepair(); /* Never forget to call this! */ $tidy->diagnose(); echo tidy_access_count($tidy); //5 ?> NOTES
Note Due to the design of the TidyLib, you must call tidy_diagnose(3) before tidy_access_count(3) or it will return always 0. You must also need to enable the accessibility-check option. SEE ALSO
tidy_error_count(3), tidy_warning_count(3). PHP Documentation Group TIDY_ACCESS_COUNT(3)
All times are GMT -4. The time now is 09:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy