LWN.net Logo

kcmp vs strcmp convention

kcmp vs strcmp convention

Posted Feb 2, 2012 16:05 UTC (Thu) by cesarb (subscriber, #6266)
In reply to: kcmp vs strcmp convention by jnareb
Parent article: Preparing for user-space checkpoint/restore

This is a system call.

In a system call, values between -1 and -4095 (inclusive) are reserved for errors, with values from errno.h. In particular, -1 means EPERM on x86.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds