php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #14083 missing yp documentation for some functions
Submitted: 2001-11-16 10:02 UTC Modified: 2002-02-27 12:35 UTC
From: nathan at dstatement dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.6 OS: n/a
Private report: No CVE-ID: None
 [2001-11-16 10:02 UTC] nathan at dstatement dot com
The current documentation at php.net lists the following 
functions for the NIS/YP function set as:

yp_get_default_domain 
yp_order 
yp_master
yp_match 
yp_first
yp_next 

However in /ext/yp/php_yp.h the following addtional 
functions have beed defined and there is code in yp.c to 
make them work (atm I don't know if they work...).  
Descriptions from source code accompany function names

yp_all - Traverse map and call a function on each enrty
yp_cat - Return an array containing the entire map
yp_errno - Return the error code from the last call or 0 
if no error occured
yp_err_string - Returns corresponding error string fro the 
given code

Can you please add thess functions to the documentation 
and maybe add an example or two?  I'll be working on some 
yp stuff soon with php, so I'd be happy to send in some 
examples when I have them.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-27 12:35 UTC] sander@php.net
They are documented now.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed May 07 21:01:30 2025 UTC