[PHP-DOC] cvs: phpdoc /en/reference/dio/functions dio-tcsetattr.xml

2005-05-05 Thread Jean-S�bastien Goupil
jsgoupilFri May  6 00:34:59 2005 EDT

  Modified files:  
/phpdoc/en/reference/dio/functions  dio-tcsetattr.xml 
  Log:
  correcting parameter name + whitespaces
  
http://cvs.php.net/diff.php/phpdoc/en/reference/dio/functions/dio-tcsetattr.xml?r1=1.10&r2=1.11&ty=u
Index: phpdoc/en/reference/dio/functions/dio-tcsetattr.xml
diff -u phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.10 
phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.11
--- phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.10Tue Apr  5 
08:51:55 2005
+++ phpdoc/en/reference/dio/functions/dio-tcsetattr.xml Fri May  6 00:34:58 2005
@@ -1,5 +1,5 @@
 
-
+
 
  
   dio_tcsetattr
@@ -16,7 +16,7 @@
   
   
dio_tcsetattr sets the terminal attributes and baud
-   rate of the open resource.
+   rate of the open fd.
   
   ¬e.no-windows;
  
@@ -36,7 +36,7 @@
  options
  
   
-The currently available options are 
+   The currently available options are: 

 
  
@@ -45,7 +45,7 @@
  
 
 
-  
+ 
   'bits' - data bits - can be 8,7,6 or 5. Default value is 8.
  
 
@@ -56,7 +56,7 @@
 
 
  
-  'parity' -  can be 0,1 or 2. Default value is 0.
+  'parity' - can be 0,1 or 2. Default value is 0.
  
 



[PHP-DOC] cvs: phpdoc /en/reference/dio/functions dio-tcsetattr.xml /en/reference/dir/functions chdir.xml /en/reference/errorfunc examples.xml /en/reference/errorfunc/functions set-error-handler.xml /en/reference/filesystem/functions fpassthru.xml /en/reference/ftp/functions ftp-mdtm.xml /en/reference/funchand/functions create-function.xml

2003-12-18 Thread Mehdi Achour
didou   Thu Dec 18 12:44:06 2003 EDT

  Modified files:  
/phpdoc/en/reference/dio/functions  dio-tcsetattr.xml 
/phpdoc/en/reference/dir/functions  chdir.xml 
/phpdoc/en/reference/errorfunc  examples.xml 
/phpdoc/en/reference/errorfunc/functionsset-error-handler.xml 
/phpdoc/en/reference/filesystem/functions   fpassthru.xml 
/phpdoc/en/reference/ftp/functions  ftp-mdtm.xml 
/phpdoc/en/reference/funchand/functions create-function.xml 
  Log:
  some more CS
  Index: phpdoc/en/reference/dio/functions/dio-tcsetattr.xml
diff -u phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.5 
phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.6
--- phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.5 Mon Dec 15 11:48:50 
2003
+++ phpdoc/en/reference/dio/functions/dio-tcsetattr.xml Thu Dec 18 12:43:56 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -52,18 +52,18 @@
 
 $fd = dio_open('/dev/ttyS0', O_RDWR | O_NOCTTY | O_NONBLOCK);
 
-dio_fcntl($fd, F_SETFL, O_SYNC );
+dio_fcntl($fd, F_SETFL, O_SYNC);
 
 dio_tcsetattr($fd, array(
   'baud' => 9600,
   'bits' => 8,
-  'stop'  =>1,
+  'stop'  => 1,
   'parity' => 0
 )); 
 
 while (1) {
 
-  $data = dio_read($fd,256);
+  $data = dio_read($fd, 256);
 
   if ($data) {
   echo $data;
Index: phpdoc/en/reference/dir/functions/chdir.xml
diff -u phpdoc/en/reference/dir/functions/chdir.xml:1.8 
phpdoc/en/reference/dir/functions/chdir.xml:1.9
--- phpdoc/en/reference/dir/functions/chdir.xml:1.8 Tue Dec 16 12:13:51 2003
+++ phpdoc/en/reference/dir/functions/chdir.xml Thu Dec 18 12:43:57 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -28,14 +28,14 @@

 chdir('public_html');

-// current direcorty
+// current directory
 echo getcwd() . "\n";

 ?>
 ]]>


-This example will output
+This example will output:


 
Index: phpdoc/en/reference/errorfunc/functions/set-error-handler.xml
diff -u phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.16 
phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.17
--- phpdoc/en/reference/errorfunc/functions/set-error-handler.xml:1.16  Mon Dec 15 
11:49:41 2003
+++ phpdoc/en/reference/errorfunc/functions/set-error-handler.xml   Thu Dec 18 
12:44:02 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -72,7 +72,7 @@
   case FATAL:
 echo "FATAL [$errno] $errstr\n";
 echo "  Fatal error in line $errline of file $errfile";
-echo ", PHP ".PHP_VERSION." (".PHP_OS.")\n";
+echo ", PHP " . PHP_VERSION . " (" . PHP_OS . ")\n";
 echo "Aborting...\n";
 exit(1);
 break;
Index: phpdoc/en/reference/filesystem/functions/fpassthru.xml
diff -u phpdoc/en/reference/filesystem/functions/fpassthru.xml:1.6 
phpdoc/en/reference/filesystem/functions/fpassthru.xml:1.7
--- phpdoc/en/reference/filesystem/functions/fpassthru.xml:1.6  Sat Aug 16 17:42:13 
2003
+++ phpdoc/en/reference/filesystem/functions/fpassthru.xml  Thu Dec 18 12:44:03 
2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -63,7 +63,7 @@
 
 // send the right headers
 header("Content-Type: image/png");
-header("Content-Length: ".filesize($name));
+header("Content-Length: " . filesize($name));
 
 // dump the picture and stop the script
 fpassthru($fp);
Index: phpdoc/en/reference/ftp/functions/ftp-mdtm.xml
diff -u phpdoc/en/reference/ftp/functions/ftp-mdtm.xml:1.5 
phpdoc/en/reference/ftp/functions/ftp-mdtm.xml:1.6
--- phpdoc/en/reference/ftp/functions/ftp-mdtm.xml:1.5  Sun Aug 17 09:17:22 2003
+++ phpdoc/en/reference/ftp/functions/ftp-mdtm.xml  Thu Dec 18 12:44:04 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -39,7 +39,7 @@
 
 if ($buff != -1) {
 // somefile.txt was last modified on: March 26 2003 14:16:41.
-echo "$file was last modified on : " . date ("F d Y H:i:s.", $buff);
+echo "$file was last modified on : " . date("F d Y H:i:s.", $buff);
 } else {
 echo "Couldn't get mdtime";
 }
Index: phpdoc/en/reference/funchand/functions/create-function.xml
diff -u phpdoc/en/reference/funchand/functions/create-function.xml:1.4 
phpdoc/en/reference/funchand/functions/create-function.xml:1.5
--- phpdoc/en/reference/funchand/functions/create-function.xml:1.4  Mon Dec 15 
11:49:46 2003
+++ phpdoc/en/reference/funchand/functions/create-function.xml  Thu Dec 18 12:44:06 
2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -36,9 +36,9 @@
   
 


[PHP-DOC] cvs: phpdoc /en/reference/dio/functions dio-tcsetattr.xml

2003-06-29 Thread Friedhelm Betz
betzSun Jun 29 12:55:12 2003 EDT

  Modified files:  
/phpdoc/en/reference/dio/functions  dio-tcsetattr.xml 
  Log:
  superfluous note removed
  
  
Index: phpdoc/en/reference/dio/functions/dio-tcsetattr.xml
diff -u phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.3 
phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.4
--- phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.3 Sun Jun 29 12:36:32 
2003
+++ phpdoc/en/reference/dio/functions/dio-tcsetattr.xml Sun Jun 29 12:55:11 2003
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -74,13 +74,7 @@
 ]]>
   
  
- 
 
-
- 
-   This function was introduced in PHP 4.3.0.
- 
-

   
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP-DOC] cvs: phpdoc /en/reference/dio/functions dio-tcsetattr.xml

2002-09-10 Thread Alan Knowles

alan_k  Tue Sep 10 21:28:27 2002 EDT

  Modified files:  
/phpdoc/en/reference/dio/functions  dio-tcsetattr.xml 
  Log:
  added note about 4.3 only - now where on earth does the (PHP 4 CVS only) tag come 
from
  
  
Index: phpdoc/en/reference/dio/functions/dio-tcsetattr.xml
diff -u phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.1 
phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.2
--- phpdoc/en/reference/dio/functions/dio-tcsetattr.xml:1.1 Thu Aug 15 05:47:24 
2002
+++ phpdoc/en/reference/dio/functions/dio-tcsetattr.xml Tue Sep 10 21:28:27 2002
@@ -1,5 +1,5 @@
 
-
+
 
   

@@ -79,6 +79,11 @@
  
  
 
+
+ 
+   This function was introduced in PHP 4.3.0.
+ 
+

   
 



-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP-DOC] cvs: phpdoc /en/reference/dio/functions dio-tcsetattr.xml

2002-08-15 Thread Alan Knowles

alan_k  Thu Aug 15 05:47:25 2002 EDT

  Added files: 
/phpdoc/en/reference/dio/functions  dio-tcsetattr.xml 
  Log:
  adding documentation for dio_tcsetattr - I dont have phpdoc build system so if this 
breaks the doc build - remove it asap 
  
  

Index: phpdoc/en/reference/dio/functions/dio-tcsetattr.xml
+++ phpdoc/en/reference/dio/functions/dio-tcsetattr.xml



  
   
dio_tcsetattr

 Sets terminal attributes and baud rate for a serial port

   
   
Description
 
  dio_tcsetattr
  resourcefd
  arrayoptions
 

 The function dio_tcsetattr sets
the terminal attributes and baud rate of the open 
 resource. The currently available options are 
 
  
   
'baud' - baud rate of the port - can be 
38400,19200,9600,4800,2400,1800,1200,600,300,200,150,134,110,75 or 50,
default value is 9600
   
  
  
   
'bits' - data bits - can be 8,7,6 or 5
default value is 8 
   
  
  
   
'stop' - stop bits - can be 1 or 2
default value is 1
   
  
  
   
'parity' -  can be 0,1 or 2
default value is 0
   
  
  
  
  
Setting the baud rate on a serial port
  
  

  
 
 

   
  





-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php