summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorBurdetteLamar <[email protected]>2024-07-07 22:43:23 +0100
committerPeter Zhu <[email protected]>2024-07-08 14:35:29 -0400
commita57b4340d000ce88c5b05516bc6bcd94fb360ab1 (patch)
treec1f02ece67f9d9a530973d2d92b290c41e0943cb /file.c
parentae6a2d06411762408bdee07e9105f940d76a870b (diff)
Doc fixes
Diffstat (limited to 'file.c')
-rw-r--r--file.c14
1 files changed, 5 insertions, 9 deletions
diff --git a/file.c b/file.c
index 835f19e541..64fc22960f 100644
--- a/file.c
+++ b/file.c
@@ -5326,16 +5326,12 @@ rb_thread_flock(void *data)
* Returns `false` if `File::LOCK_NB` is specified and the operation would have blocked;
* otherwise returns `0`.
*
- * <br>
- *
* | Constant | Lock | Effect
- * |-----------------|--------------|-------------------------------------------------------------------
- * | +File::LOCK_EX+ | Exclusive | Only one process may hold an exclusive lock for +self+ at a time.
- * | +File::LOCK_NB+ | Non-blocking | No blocking; may be combined with +File::LOCK_SH+ or +File::LOCK_EX+ using the bitwise OR operator <tt>\|</tt>.
- * | +File::LOCK_SH+ | Shared | Multiple processes may each hold a shared lock for +self+ at the same time.
- * | +File::LOCK_UN+ | Unlock | Remove an existing lock held by this process.
- *
- * <br>
+ * |-----------------|--------------|-----------------------------------------------------------------------------------------------------------------|
+ * | +File::LOCK_EX+ | Exclusive | Only one process may hold an exclusive lock for +self+ at a time. |
+ * | +File::LOCK_NB+ | Non-blocking | No blocking; may be combined with +File::LOCK_SH+ or +File::LOCK_EX+ using the bitwise OR operator <tt>\|</tt>. |
+ * | +File::LOCK_SH+ | Shared | Multiple processes may each hold a shared lock for +self+ at the same time. |
+ * | +File::LOCK_UN+ | Unlock | Remove an existing lock held by this process. |
*
* Example:
*