and the value pointed to by the
.IR robustness
parameter is set to the robustness attribute of
-.IR attr.
+.IR attr .
Otherwise, an error number shall be returned.
On success,
.BR pthread_mutexattr_setrobust()
.BR pthread_mutexattr_setrobust ().
.SH EXAMPLE
.PP
-The program demonstrate a simple use of the robustness attribute of a
+The program demonstrates a simple use of the robustness attribute of a
pthread mutex attribute object.
In this program, a thread holding the mutex
dies prematurely without unlocking the mutex.