📄 ldap_abandon.3
字号:
.TH LDAP_ABANDON 3 "RELEASEDATE" "OpenLDAP LDVERSION".\" $OpenLDAP: pkg/ldap/doc/man/man3/ldap_abandon.3,v 1.15.2.4 2007/01/02 21:43:44 kurt Exp $.\" Copyright 1998-2007 The OpenLDAP Foundation All Rights Reserved..\" Copying restrictions apply. See COPYRIGHT/LICENSE..SH NAMEldap_abandon, ldap_abandon_ext \- Abandon an LDAP operation in progress.SH LIBRARYOpenLDAP LDAP (libldap, -lldap).SH SYNOPSIS.nf.B #include <ldap.h>.sp.BI "int ldap_abandon(LDAP *" ld ", int " msgid ");".sp.BI "int ldap_abandon_ext(LDAP *" ld ", int " msgid ",".RS.BI "LDAPControl *" sctrls "[], LDAPControl *" cctrls "[]);".RE.fi.SH DESCRIPTIONThe.B ldap_abandon()routine is used to abandon or cancel an LDAPoperation in progress. The \fImsgid\fP passed should be themessage id of an outstanding LDAP operation, as returned by.BR ldap_search (3),.BR ldap_modify (3),etc..LP.BR ldap_abandon ()checks to see if the result of the operation has already come in. If ithas, it deletes it from the queue of pending messages. If not,it sends an LDAP abandon operation to the the LDAP server..LPThe caller can expect that the result of an abandoned operationwill not be returned from a future call to.BR ldap_result (3)..LP.B ldap_abandon_ext()is equivalent to.B ldap_abandon()except that it allows server and client controls to be passedin.I sctrlsand.IR cctrls ,respectively..SH ERRORS.B ldap_abandon()returns 0 if everything goes ok, -1 otherwise,setting \fIld_errno\fP with an appropriate LDAP error code..LP.B ldap_abandon_ext()directly returns an LDAP error code indicating success or failure of theoperation..LPSee.BR ldap_error (3)for details..SH SEE ALSO.BR ldap (3),.BR ldap_result (3),.BR ldap_error (3).SH ACKNOWLEDGEMENTS.B OpenLDAPis developed and maintained by The OpenLDAP Project (http://www.openldap.org/)..B OpenLDAPis derived from University of Michigan LDAP 3.3 Release.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -