zero error – Spanish Translation – Keybot Dictionary

Spacer TTN Translation Network TTN TTN Login Deutsch Français Spacer Help
Source Languages Target Languages
Keybot 2 Results  www.gentoo.org
  Gentoo Linux Documentat...  
If the mutex already happens to be locked, the caller will go to sleep. When the function returns, the caller will be woken up (obviously), and the caller will also now hold the lock. This call either returns zero on success or a non-zero error code on failure.
pthread_mutex_lock() acepta un único puntero para bloquear un mutex. Si el mutex ya se encuentra bloqueado, la llamada se duerme. Cuando la función retorna, (obviamente) la llamada despertará y, a partir de ese momento, mantendrá el bloqueo. La llamada o bien devuelve cero en caso de no encontrar un error o bien devuelve un valor distinto de cero con el código de error.
  Gentoo Linux Documentat...  
If the error code from this command is zero, we know that ps uxw works and we set the psopts value appropriately. However, if ps uxw returned a non-zero error code (indicating that we need to use BSD-style options), we do a dry-run of ps -u 'whoami' -f, again throwing away all output.
¿Perplejo? Si ha decidido que un grep "ssh-agent" y grep "[s]sh-agent" deberían coincidir con las mismas líneas de texto, está en lo cierto. ¿Entonces porqué hacer que generen resultados diferentes cuando la salida de ps es entubada hacia ellos? He aquí como funciona: cuando se utiliza grep "[s]sh-agent", cambia la forma en que el comando grep aparece en el listado de procesos ps. De esta manera, prevenimos que grep coincida consigo mismo, ya que la cadena [s]sh-agent no coincide con la expresión regular [s]sh-agent. ¿No es brillante? Si todavía no lo pilla, juegue con grep un poco más y lo logrará pronto.