#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
#
ret = 0
bufsz = 32
return NULL
while True:
if ret < 0:
return NULL
return NULL
else:
break
break
return buf
def get_isainfo():
"""Return a list of strings constituting the architecture tags for the
invoking system."""
return
# ffi.string returns a bytes
else:
return robj
def get_release():
"""Return the release string ("5.11") for the invoking system."""
return
def get_platform():
"""Return the platform tag ("i86pc") for the invoking system."""
return