What system call would I have to use to check if the input was an integer if I am creating a module that reads from the user and writes to a /proc file entry.
What system call would I have to use to check if the input was an integer if I am creating a module that reads from the user and writes to a /proc file entry.
have you read this: Function To Test If there string is an int
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler