Hello,
A friend asked me why he was getting warnings about conversion of
unsigned to signed, when calling chown() with:
chown("/dev/null", -1, -1);
The manpage of chown has a prototype of:
int
chown(const char *path, uid_t owner, gid_t group);
But the manpage mentions that (uid_d)
On Thu, Aug 29, 2002 at 10:35:31AM +0300, Giorgos Keramidas wrote:
+> Hello,
+>
+> A friend asked me why he was getting warnings about conversion of
+> unsigned to signed, when calling chown() with:
+>
+> chown("/dev/null", -1, -1);
+>
+> The manpage of chown has a prototype of:
+>
+>
2 matches
Mail list logo