Lines Matching defs:arg
30 arg: object(c_default='NULL') = 0
37 the relevant C header files. The argument arg is optional, and
38 defaults to 0; it may be an int or a string. If arg is given as a string,
40 resulting value put in the arg buffer by the operating system. The length
41 of the arg string is not allowed to exceed 1024 bytes. If the arg given
47 fcntl_fcntl_impl(PyObject *module, int fd, int code, PyObject *arg)
57 if (PySys_Audit("fcntl.fcntl", "iiO", fd, code, arg ? arg : Py_None) < 0) {
61 if (arg != NULL) {
64 if (PyArg_Parse(arg, "s#", &str, &len)) {
67 "fcntl string arg too long");
83 parse_result = PyArg_Parse(arg,
109 arg as ob_arg: object(c_default='NULL') = 0
119 The argument `arg` is optional, and defaults to 0; it may be an int or a
135 the buffer. The length of the arg buffer in this case is not allowed to
138 If the arg given is an integer or if none is specified, the result value is
159 int arg = 0;
173 char *arg;
181 arg = buf;
184 arg = str;
191 "ioctl string arg too long");
197 arg = buf;
200 if (buf == arg) {
202 ret = ioctl(fd, code, arg);
206 ret = ioctl(fd, code, arg);
231 "ioctl string arg too long");
252 &arg)) {
258 ret = ioctl(fd, code, arg);