krb5_cc_lock -  Lock a credential cache. 
=========================================

..

.. c:function:: krb5_error_code krb5_cc_lock(krb5_context context, krb5_ccache ccache)

..


:param:

	          **[in]** **context** - Library context

	          **[in]** **ccache** - Credential cache handle


..


:retval:
         -   0   Success; otherwise - Kerberos error codes


..







Use :c:func:`krb5_cc_unlock()` to unlock the lock.










..





