• Home
  • Raw
  • Download

Lines Matching refs:rc

51 	long rc;  in main()  local
54 rc = fsetxattr(-1, 0, 0, 0, XATTR_CREATE); in main()
56 sprintrc(rc)); in main()
58 rc = fsetxattr(-1, 0, z_value, 0, XATTR_CREATE); in main()
60 sprintrc(rc)); in main()
62 rc = fsetxattr(-1, name, big, XATTR_SIZE_MAX + 1, XATTR_CREATE); in main()
64 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
66 rc = fsetxattr(-1, name, value, sizeof(c_value), XATTR_CREATE); in main()
68 name, value, (unsigned) sizeof(c_value), sprintrc(rc)); in main()
70 rc = fsetxattr(-1, name, z_value, sizeof(c_value), XATTR_REPLACE); in main()
72 name, q_value, (unsigned) sizeof(c_value), sprintrc(rc)); in main()
74 rc = fsetxattr(-1, name, value, sizeof(c_value) - 1, XATTR_CREATE|XATTR_REPLACE); in main()
77 name, q_value, (unsigned) sizeof(c_value) - 1, sprintrc(rc)); in main()
79 rc = setxattr(".", name, z_value, sizeof(c_value), XATTR_CREATE); in main()
81 name, q_value, (unsigned) sizeof(c_value), sprintrc(rc)); in main()
83 rc = lsetxattr(".", name, value, sizeof(c_value) - 1, XATTR_CREATE); in main()
85 name, q_value, (unsigned) sizeof(c_value) - 1, sprintrc(rc)); in main()
87 rc = fgetxattr(-1, name, efault, 4); in main()
89 name, efault, sprintrc(rc)); in main()
91 rc = getxattr(".", name, big, XATTR_SIZE_MAX + 1); in main()
93 name, big, XATTR_SIZE_MAX + 1, sprintrc(rc)); in main()
95 rc = lgetxattr(".", name, big + 1, XATTR_SIZE_MAX); in main()
97 name, big + 1, XATTR_SIZE_MAX, sprintrc(rc)); in main()
99 rc = flistxattr(-1, efault, 4); in main()
100 printf("flistxattr(-1, %p, 4) = %s\n", efault, sprintrc(rc)); in main()
102 rc = llistxattr("", efault + 1, 4); in main()
103 printf("llistxattr(\"\", %p, 4) = %s\n", efault + 1, sprintrc(rc)); in main()
105 rc = listxattr(".", big, 0); in main()
106 printf("listxattr(\".\", %p, 0) = %s\n", big, sprintrc(rc)); in main()
108 rc = listxattr(".", big, XATTR_SIZE_MAX + 1); in main()
109 errstr = sprintrc(rc); in main()
111 if (rc < 0) in main()
114 const int ellipsis = rc > DEFAULT_STRLEN; in main()
116 print_quoted_memory(big, ellipsis ? DEFAULT_STRLEN : rc); in main()
122 rc = fremovexattr(-1, name); in main()
123 printf("fremovexattr(-1, \"%s\") = %s\n", name, sprintrc(rc)); in main()
125 rc = removexattr(".", name); in main()
126 printf("removexattr(\".\", \"%s\") = %s\n", name, sprintrc(rc)); in main()
128 rc = lremovexattr(".", name); in main()
129 printf("lremovexattr(\".\", \"%s\") = %s\n", name, sprintrc(rc)); in main()