Skip to contentSkip to conversation

fallocate.2: 0 is returned on *success*

PATCH In review Simon Paillard 2 participants 4 messages Jun 11, 2013 – Jun 12, 2013 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 fallocate.2: 0 is returned on *success*

Introduced by 47a979088fcd7f

---
 man2/fallocate.2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/fallocate.2 +1 -1
index a61c513..58a19c2 100644
@@ -110,7 +110,7 @@ Not all file systems support
 .BR FALLOC_FL_PUNCH_HOLE ;
 if a file system doesn't support the operation, an error is returned.
 .SH RETURN VALUE
-On error,
+On success,
 .BR fallocate ()
 returns zero.
 On error, \-1 is returned and
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1370980770-25405-1-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#2 lore raw

PATCH 2/2 siginterrupt.3: tfix missing dot

---
 man3/siginterrupt.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/siginterrupt.3 +1 -1
index 56a8b91..bdf8b21 100644
@@ -73,7 +73,7 @@ amount of data transferred.
 .SH RETURN VALUE
 The
 .BR siginterrupt ()
-function returns 0 on success
+function returns 0 on success.
 It returns \-1 if the
 signal number
 .I sig
Signature · 6 lines
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 1370980770-25405-2-git-send-email-spaillard-8fiUuRrzOP0dnm+yROfE0A@public.gmane.org

#4 lore raw

Re: [PATCH 2/2] siginterrupt.3: tfix missing dot

Thanks, Simon. Applied.

Quoted 10 lines · Simon Paillard
---
 man3/siginterrupt.3 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man3/siginterrupt.3 +0 -0
index 56a8b91..bdf8b21 100644

man3/siginterrupt.3 amount of data transferred. · line 79

Quoted 8 lines
man3/siginterrupt.3 +1 -1
@@ -73,7 +73,7 @@ amount of data transferred.
 .SH RETURN VALUE
 The
 .BR siginterrupt ()
-function returns 0 on success
+function returns 0 on success.
 It returns \-1 if the
 signal number
 .I sig

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#5 lore raw
In reply to a message not in the archive
Quoted 10 lines · Simon Paillard

Introduced by 47a979088fcd7f

---
 man2/fallocate.2 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
man2/fallocate.2 +0 -0
index a61c513..58a19c2 100644

man2/fallocate.2 Not all file systems support · line 116

Quoted 8 lines
man2/fallocate.2 +1 -1
@@ -110,7 +110,7 @@ Not all file systems support
 .BR FALLOC_FL_PUNCH_HOLE ;
 if a file system doesn't support the operation, an error is returned.
 .SH RETURN VALUE
-On error,
+On success,
 .BR fallocate ()
 returns zero.
 On error, \-1 is returned and

Hi Simon,

I recently fixed this after a report from Yuri Kozlov.

Cheers,

Michael

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html